aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin.py b/admin.py
index 2408623..ca2fed9 100644
--- a/admin.py
+++ b/admin.py
@@ -20,8 +20,8 @@ from .models import Timetable, LastUpdate, Group, Subscription, Room, Course
@admin.register(Timetable)
class TimetableAdmin(admin.ModelAdmin):
- prepopulated_fields = {"slug": ("name",)}
- list_display = ("name", "url",)
+ prepopulated_fields = {"slug": ("year", "name",)}
+ list_display = ("full_name", "url",)
@admin.register(LastUpdate)