let pre-commit do some work

This commit is contained in:
Ariel Rin
2023-05-03 13:18:05 +10:00
parent 98aa44c070
commit 3b19db2564
26 changed files with 39 additions and 37 deletions

View File

@@ -288,7 +288,7 @@ class UserAdmin(BaseUserAdmin):
Behavior of groups and characters columns can be configured via settings
"""
inlines = BaseUserAdmin.inlines + [UserProfileInline]
inlines = [UserProfileInline]
ordering = ('username', )
list_select_related = ('profile__state', 'profile__main_character')
show_full_result_count = True