aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorAlban Gruin2017-10-24 19:13:28 +0200
committerAlban Gruin2017-10-24 19:13:28 +0200
commit1edd7f6b2431095b27fd98205bb2ce5f462183e9 (patch)
treeb2fe976b0999dca2aa052e4deda171e826f96035 /admin.py
parent3830f9c786f1a790d67958b0a6d38bea75679159 (diff)
parent07e9a1d1e6c77d64e5c3daf0324ae751117f168e (diff)
Merge branch 'fusion/alban'
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin.py b/admin.py
index e17948a..c93b6b3 100644
--- a/admin.py
+++ b/admin.py
@@ -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,)