diff options
author | Alban Gruin | 2018-09-06 16:41:05 +0200 |
---|---|---|
committer | Alban Gruin | 2018-09-06 21:03:49 +0200 |
commit | 13934cdbc8437a6f2a40b18ff6be2ab221a92d05 (patch) | |
tree | 1b7ac65fe5fea194abcfe7ab7189423cfa0feffe /admin.py | |
parent | 066391b376649214266f48ab95a021cb98b9dfa2 (diff) |
admin: tri des salles par ordre alphabétique par défaut
Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -65,6 +65,8 @@ class GroupAdmin(admin.ModelAdmin): @admin.register(Room) class RoomAdmin(admin.ModelAdmin): prepopulated_fields = {"slug": ("name",)} + list_display = ("name",) + ordering = ("name",) @admin.register(Course) |