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 = ( fieldsets = (
(None, {'fields': ('email', 'password')}), (None, {'fields': ('email', 'password')}),
('Permissions', {'fields': ('is_active', 'is_superuser', ('Permissions', {'fields': ('is_active', 'is_superuser', 'is_admin', 'groups', 'user_permissions')}),
'groups', 'user_permissions')}),
('Important dates', {'fields': ('last_login',)}), ('Important dates', {'fields': ('last_login',)}),
) )
add_fieldsets = ( add_fieldsets = (

Loading…
Cancel
Save