aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
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 95b4fd7..509ed42 100644
--- a/admin.py
+++ b/admin.py
@@ -17,11 +17,11 @@ class LastUpdateAdmin(admin.ModelAdmin):
@admin.register(Group)
class GroupAdmin(admin.ModelAdmin):
fieldsets = (
- (None, {"fields": ("name", "timetable",)}),
+ (None, {"fields": ("name", "celcat_name", "timetable",)}),
("Groupes", {"fields": ("mention", "subgroup", "td", "tp",)}),)
list_display = ("name", "timetable",)
list_filter = ("timetable__name",)
- readonly_fields = ("mention", "subgroup", "td", "tp",)
+ readonly_fields = ("celcat_name", "mention", "subgroup", "td", "tp",)
@admin.register(Subscription)