From 06d3606cb64e83581936ad86de14fb3ba96e2296 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Thu, 12 Aug 2010 19:06:09 +0200 Subject: [PATCH] list user name in the first column instead of account owner --- pyweb/mumble/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyweb/mumble/admin.py b/pyweb/mumble/admin.py index 0ede1f2..f96f8ab 100644 --- a/pyweb/mumble/admin.py +++ b/pyweb/mumble/admin.py @@ -125,7 +125,7 @@ class MumbleAdmin(admin.ModelAdmin): class MumbleUserAdmin(admin.ModelAdmin): """ Specification for the "Registered users" admin section. """ - list_display = [ 'owner', 'server', 'name', 'mumbleid', 'get_acl_admin' ] + list_display = [ 'name', 'server', 'owner', 'mumbleid', 'get_acl_admin' ] list_filter = [ 'server' ] search_fields = [ 'owner__username', 'name' ] ordering = [ 'owner__username' ]