aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/users/admin.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-24 20:51:33 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-24 20:51:33 +0100
commit708b983c9cb0895ae0d205013d46a17020c4ef73 (patch)
tree3583151f0dc95b1be2462207d20dbee0a53fd866 /ctrack/users/admin.py
parent7494bebcd8c531df0680e96952ffeceb34fd0a57 (diff)
removed oes field from user - about to make a profile model
Diffstat (limited to '')
-rw-r--r--ctrack/users/admin.py4
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"]