diff options
author | Alban Gruin | 2017-01-19 14:27:02 +0100 |
---|---|---|
committer | Alban Gruin | 2017-01-19 14:27:02 +0100 |
commit | d5707a7293d68eb064f9e407531d7f1817b3c6dd (patch) | |
tree | 4033f9b77ce1eca88e143f3836abf65d105bdcca /admin.py | |
parent | e9d4b61b1fb0d5efa78df56a2529185d3d8fabf5 (diff) |
Détermination automatique des mentions, sous-groupes, groupe de td et tp
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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",) |