Commit 3a02efcf authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Rename a category in the admin

parent 6cdc234b
......@@ -55,10 +55,11 @@ class CustomUserAdmin(UserAdmin):
fieldsets = (
(None, {'fields': ('username', 'password', 'user_type',)}),
('Permissions', {'fields': ('is_active', 'is_staff', 'is_superuser',)}),
('Important dates', {'fields': ('last_login', 'date_joined')}),
('Dates', {'fields': ('last_login', 'date_joined')}),
('Upstream Client fields', {'fields': ('idp',)}),
)
add_fieldsets = (
(None, {'fields': ('user_type',)}),
) + UserAdmin.add_fieldsets + (
('Upstream User fields', {'fields': ('idp',)}),
('Upstream Client fields', {'fields': ('idp',)}),
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment