From 88d83dfaa66d6a01621dcff61b441babdf4833ce Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Wed, 12 Aug 2009 15:39:56 -0600 Subject: Add a couple columns to user admin at Aaron's request. --- main/admin.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main') 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) -- cgit v1.2.3-54-g00ecf