aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorAlban Gruin2017-11-27 12:08:08 +0100
committerAlban Gruin2017-11-27 12:10:05 +0100
commit3991efeb9af75ad55ec373422da3c11ea2d36e6e (patch)
tree3f20d0d17f50863360a8518264ff8c0741dee889 /admin.py
parent0b5d2ede0a7027c26f117bf85636fd0c002f772c (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.py2
1 files changed, 1 insertions, 1 deletions
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,)