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