Commit e68418b70622bc96a720876369b81bbd1f3fe138
1 parent
e1767fc3
Exists in
master
and in
5 other branches
fixing admin add user form
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 | ... | ... |