Make Person model ordering by full_name by default
This commit is contained in:
parent
fa6d20901a
commit
fdb9dc15de
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ class PersonAdmin(admin.ModelAdmin):
|
|||
list_display = ['id', 'full_name', 'organization']
|
||||
autocomplete_fields = ['organization']
|
||||
list_per_page = settings.ADMIN_LIST_PER_PAGE
|
||||
ordering = ['full_name']
|
||||
# list_display_links = ['id']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue