diff options
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |