Browse Source

Add field.

issue54
Drew Larson 8 years ago
parent
commit
6070369306
  1. 3
      bikeshop_project/registration/admin.py

3
bikeshop_project/registration/admin.py

@ -15,8 +15,7 @@ class CustomUserAdmin(UserAdmin):
fieldsets = (
(None, {'fields': ('email', 'password')}),
('Permissions', {'fields': ('is_active', 'is_superuser',
'groups', 'user_permissions')}),
('Permissions', {'fields': ('is_active', 'is_superuser', 'is_admin', 'groups', 'user_permissions')}),
('Important dates', {'fields': ('last_login',)}),
)
add_fieldsets = (

Loading…
Cancel
Save