aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin.py b/admin.py
index 48930e0..fff2c19 100644
--- a/admin.py
+++ b/admin.py
@@ -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)