summaryrefslogtreecommitdiff
path: root/main/admin.py
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2009-08-12 15:39:56 -0600
committerDusty Phillips <buchuki@gmail.com>2009-08-12 15:39:56 -0600
commit88d83dfaa66d6a01621dcff61b441babdf4833ce (patch)
tree4a556b58fa37cf94416d677681e717f2526eef5a /main/admin.py
parent756751ab7f5c8329630a766b7718790c2790a845 (diff)
Add a couple columns to user admin at Aaron's request.
Diffstat (limited to 'main/admin.py')
-rw-r--r--main/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/admin.py b/main/admin.py
index 812332b8..fc482f44 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)