diff options
author | Alban Gruin | 2017-10-24 19:13:28 +0200 |
---|---|---|
committer | Alban Gruin | 2017-10-24 19:13:28 +0200 |
commit | 1edd7f6b2431095b27fd98205bb2ce5f462183e9 (patch) | |
tree | b2fe976b0999dca2aa052e4deda171e826f96035 /admin.py | |
parent | 3830f9c786f1a790d67958b0a6d38bea75679159 (diff) | |
parent | 07e9a1d1e6c77d64e5c3daf0324ae751117f168e (diff) |
Merge branch 'fusion/alban'
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,12 +44,12 @@ class TimetableAdmin(admin.ModelAdmin): class GroupAdmin(admin.ModelAdmin): fieldsets = ( (None, {"fields": ("name", "celcat_name", "timetable", "hidden",)}), - ("Groupes", {"fields": ("mention", "subgroup", "td", "tp", "parent",)}),) + ("Groupes", {"fields": ("mention", "subgroup",)}),) list_display = ("name", "timetable", "hidden",) list_editable = ("hidden",) list_filter = ("timetable",) ordering = ("timetable",) - readonly_fields = ("celcat_name", "mention", "subgroup", "td", "tp",) + readonly_fields = ("celcat_name", "mention",) actions = (make_hidden, make_visible,) |