diff options
author | Alban Gruin | 2017-09-09 21:07:09 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-12 21:40:15 +0200 |
commit | 445bfdcde5309645ac4d6f5c1d565530e6dbfeed (patch) | |
tree | fe5c383c561af1df75df74e277b4dead2750edf2 /admin.py | |
parent | c0f19d41c8dfb6d499defcfc63c273bbc8918584 (diff) |
Tri du modèle Timetable
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -29,6 +29,7 @@ class TimetableAdmin(admin.ModelAdmin): prepopulated_fields = {"slug": ("name",)} list_display = ("name", "year", "url",) list_filter = ("year__name",) + ordering = ("year", "name",) @admin.register(LastUpdate) |