summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-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)