aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin.py b/admin.py
index 19a1525..233ed1d 100644
--- a/admin.py
+++ b/admin.py
@@ -27,7 +27,8 @@ class RoomAdmin(admin.ModelAdmin):
class CourseAdmin(admin.ModelAdmin):
fieldsets = (
(None, {"fields": ("name", "type", "timetable", "groups", "rooms",)}),
- ("Horaires", {"fields": ("begin", "end",)}),)
+ ("Horaires", {"fields": ("begin", "end",)}),
+ ("Remarques", {"fields": ("notes",)}),)
list_display = ("name", "type", "timetable", "begin", "end",)
list_filter = ("type", "timetable__name", "groups",)
ordering = ("begin",)