summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2009-08-12 23:39:56 +0200
committerDusty Phillips <buchuki@gmail.com>2009-08-12 23:39:56 +0200
commit88d83dfaa66d6a01621dcff61b441babdf4833ce (patch)
tree4a556b58fa37cf94416d677681e717f2526eef5a
parent756751ab7f5c8329630a766b7718790c2790a845 (diff)
downloadarchweb-88d83dfaa66d6a01621dcff61b441babdf4833ce.tar.gz
archweb-88d83dfaa66d6a01621dcff61b441babdf4833ce.tar.xz
Add a couple columns to user admin at Aaron's request.
-rw-r--r--main/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/admin.py b/main/admin.py
index 812332b..fc482f4 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -79,6 +79,8 @@ class UserProfileInline(admin.StackedInline):
class UserProfileAdmin(UserAdmin):
inlines = [UserProfileInline]
+ list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff', 'is_active')
+ list_filter = ('is_staff', 'is_superuser', 'is_active')
admin.site.register(User, UserProfileAdmin)