diff options
author | Alban Gruin | 2017-11-07 18:04:31 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-07 18:04:31 +0100 |
commit | ffffd9842dbaba0b0e89ff5f434f45792e2b73b6 (patch) | |
tree | 8e771d2e87e3fcc28efd1bd3beb4583af8231f88 /admin.py | |
parent | ae3358c1296a02352409910a9ffcc2307d5ea87a (diff) | |
parent | 04ca9906dccbfd290a08aef037873302ff7eac3d (diff) |
Merge branch 'stable/0.11.z' into prod/pa1ch/0.y.zv0.11.0-pa1ch
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,) |