diff options
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -58,13 +58,15 @@ class GroupAdmin(admin.ModelAdmin): list_editable = ("hidden",) list_filter = ("source__timetables",) ordering = ("source", "name",) - readonly_fields = ("celcat_name", "mention", "semester", "subgroup",) + readonly_fields = ("celcat_name",) actions = (make_hidden, make_visible,) @admin.register(Room) class RoomAdmin(admin.ModelAdmin): prepopulated_fields = {"slug": ("name",)} + list_display = ("name",) + ordering = ("name",) @admin.register(Course) |