Commit c77ab4d1efc65c1d680013d17bdf2649004cef0c
1 parent
ba8c0e7a
Exists in
master
and in
5 other branches
Show user fields in admin.py
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
users/admin.py
... | ... | @@ -5,6 +5,6 @@ from .forms import AdminUserForm |
5 | 5 | class UserAdmin(admin.ModelAdmin): |
6 | 6 | list_display = ['username', 'name', 'email', 'is_staff', 'is_active'] |
7 | 7 | search_fields = ['username', 'name', 'email'] |
8 | - form = AdminUserForm | |
8 | + # form = AdminUserForm | |
9 | 9 | |
10 | 10 | admin.site.register(User, UserAdmin) |
11 | 11 | \ No newline at end of file | ... | ... |