aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-24 15:50:58 +0200
committerAlban Gruin2017-09-24 15:50:58 +0200
commit77748ec01d1ef59d8436597a9b52675b309e1c4d (patch)
tree9bd9aa7be357f2846e1b4f075fd4e424d382fad3 /admin.py
parent0949b09c0040a66ffd1869da23a9425da891d56f (diff)
Ajout du champ last_update dans le modèle des cours
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin.py b/admin.py
index 16e34f3..4a238be 100644
--- a/admin.py
+++ b/admin.py
@@ -57,7 +57,7 @@ class RoomAdmin(admin.ModelAdmin):
@admin.register(Course)
class CourseAdmin(admin.ModelAdmin):
fieldsets = (
- (None, {"fields": ("name", "type", "timetable", "groups", "rooms",)}),
+ (None, {"fields": ("name", "type", "timetable", "groups", "rooms", "last_update",)}),
("Horaires", {"fields": ("begin", "end",)}),
("Remarques", {"fields": ("notes",)}),)
list_display = ("name", "type", "timetable", "begin", "end",)