From 3991efeb9af75ad55ec373422da3c11ea2d36e6e Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Mon, 27 Nov 2017 12:08:08 +0100 Subject: Les champs semestre et sous-groupe ne sont plus modifiables dans l’interface d’administration --- admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin.py b/admin.py index 0235fb9..7739a95 100644 --- a/admin.py +++ b/admin.py @@ -49,7 +49,7 @@ class GroupAdmin(admin.ModelAdmin): list_editable = ("hidden",) list_filter = ("timetable",) ordering = ("timetable",) - readonly_fields = ("celcat_name", "mention",) + readonly_fields = ("celcat_name", "mention", "semester", "subgroup",) actions = (make_hidden, make_visible,) -- cgit v1.2.1