Browse Source

display "is admin" column in the overview list

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
400072a669
  1. 2
      pyweb/mumble/admin.py

2
pyweb/mumble/admin.py

@ -45,7 +45,7 @@ class MumbleAdmin(admin.ModelAdmin):
class MumbleUserAdmin(admin.ModelAdmin):
list_display = [ 'owner', 'server', 'name' ];
list_display = [ 'owner', 'server', 'name', 'isAdmin' ];
list_filter = [ 'server' ];
search_fields = [ 'owner__username', 'name' ];
ordering = [ 'owner__username' ];

Loading…
Cancel
Save