diff options
author | Alban Gruin | 2017-09-09 21:07:09 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-09 21:07:09 +0200 |
commit | db9523587a8abc955a166ffb3636601164a792ab (patch) | |
tree | af8b875a259daa58ca1101a2e98797ed413e66a8 /admin.py | |
parent | afa67de3f2b8cb01d4565ad9dd438155b4023f09 (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) |