Browse Source

Add field. (#55)

feature/upgrade-admin-visits
Drew Larson 8 years ago
committed by GitHub
parent
commit
508e57274f
  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