diff options
author | Alban Gruin | 2017-11-27 12:08:08 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-27 12:10:05 +0100 |
commit | 3991efeb9af75ad55ec373422da3c11ea2d36e6e (patch) | |
tree | 3f20d0d17f50863360a8518264ff8c0741dee889 /admin.py | |
parent | 0b5d2ede0a7027c26f117bf85636fd0c002f772c (diff) |
Les champs semestre et sous-groupe ne sont plus modifiables dans
l’interface d’administration
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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,) |