mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-24 12:23:11 +00:00
Default ordering
This commit is contained in:
parent
040b15dcd1
commit
fe2a76ed96
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,7 @@ class LdapServiceUserGroupAdmin(admin.ModelAdmin):
|
|||
class SchoolAdmin(VersionAdmin, ModelUserAdmin):
|
||||
"""Administration, gestion des écoles"""
|
||||
list_display = ('name',)
|
||||
ordering = ('name',)
|
||||
|
||||
|
||||
class ListRightAdmin(VersionAdmin):
|
||||
|
@ -98,6 +99,7 @@ class ListRightAdmin(VersionAdmin):
|
|||
class ListShellAdmin(VersionAdmin, ModelUserAdmin):
|
||||
"""Gestion de la liste des shells coté admin"""
|
||||
list_display = ('shell',)
|
||||
ordering = ('shell',)
|
||||
|
||||
|
||||
class RequestAdmin(admin.ModelAdmin):
|
||||
|
|
Loading…
Reference in a new issue