diff options
author | Alban Gruin | 2017-09-07 17:02:27 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-07 17:02:27 +0200 |
commit | 1561cb829a48d49d36242db89fa4490144767065 (patch) | |
tree | 7bdfc702f0f23e07eb7cdd383a66aa47c10e6bbd /admin.py | |
parent | 36757e937abd7d5aa3434f4c815dfb040e1e3a71 (diff) |
Séparation de l’année et de la mention dans le modèle Timetable
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |