mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 11:29:17 +02:00
See #152: added management command to execute one-time migration scripts
This commit is contained in:
parent
a57d975183
commit
ac7db73785
9 changed files with 202 additions and 4 deletions
|
@ -57,7 +57,18 @@ class UserAdmin(AuthUserAdmin):
|
|||
fieldsets = (
|
||||
(None, {'fields': ('username', 'password', 'privacy_level')}),
|
||||
(_('Personal info'), {'fields': ('first_name', 'last_name', 'email')}),
|
||||
(_('Permissions'), {'fields': ('is_active', 'is_staff', 'is_superuser',
|
||||
'permission_library', 'permission_settings', 'permission_federation')}),
|
||||
(_('Permissions'), {
|
||||
'fields': (
|
||||
'is_active',
|
||||
'is_staff',
|
||||
'is_superuser',
|
||||
'permission_library',
|
||||
'permission_settings',
|
||||
'permission_federation')}),
|
||||
(_('Important dates'), {'fields': ('last_login', 'date_joined')}),
|
||||
)
|
||||
(_('Useless fields'), {
|
||||
'fields': (
|
||||
'user_permissions',
|
||||
'groups',
|
||||
)})
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue