diff options
Diffstat (limited to 'ctrack/users/admin.py')
-rw-r--r-- | ctrack/users/admin.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ctrack/users/admin.py b/ctrack/users/admin.py index 28e91eb..120cc64 100644 --- a/ctrack/users/admin.py +++ b/ctrack/users/admin.py @@ -12,8 +12,6 @@ class UserAdmin(auth_admin.UserAdmin): form = UserChangeForm add_form = UserCreationForm - fieldsets = ( - ("User", {"fields": ("name", "oes_user")}), - ) + auth_admin.UserAdmin.fieldsets + fieldsets = (("User", {"fields": ("name",)}),) + auth_admin.UserAdmin.fieldsets list_display = ["username", "name", "is_superuser"] search_fields = ["name"] |