This commit is contained in:
2018-03-27 12:59:19 +02:00
parent 133d9e245e
commit 02f9828009
2 changed files with 13 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ class ProfileInline(admin.StackedInline):
class UserAdmin(BaseUserAdmin):
inlines = [ProfileInline]
fieldsets = (
(None, {'fields': ('username', 'password')}),
(None, {'fields': ('username', 'email', 'password')}),
(_('Permissions'), {'fields': ('is_active', 'is_staff', 'is_superuser', 'groups')}),
)