aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorAlban Gruin2017-01-19 14:27:02 +0100
committerAlban Gruin2017-01-19 14:27:02 +0100
commitd5707a7293d68eb064f9e407531d7f1817b3c6dd (patch)
tree4033f9b77ce1eca88e143f3836abf65d105bdcca /admin.py
parente9d4b61b1fb0d5efa78df56a2529185d3d8fabf5 (diff)
Détermination automatique des mentions, sous-groupes, groupe de td et tp
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin.py b/admin.py
index bdf59a2..5583967 100644
--- a/admin.py
+++ b/admin.py
@@ -10,6 +10,8 @@ class TimetableAdmin(admin.ModelAdmin):
@admin.register(Group)
class GroupAdmin(admin.ModelAdmin):
+ fieldsets = (
+ (None, {"fields": ("name", "timetable",)}),)
list_display = ("name", "timetable",)
list_filter = ("timetable__name",)