diff options
author | Alban Gruin | 2018-09-06 21:46:51 +0200 |
---|---|---|
committer | Alban Gruin | 2018-09-06 21:46:51 +0200 |
commit | 676345434415d40363c80960484abf0295ca800a (patch) | |
tree | 76c0f71fd86f19962812a63da109bf79ebd2d43c /admin.py | |
parent | 6b8ea6615de6000ea14396fc2d31eb5c6cb159f9 (diff) | |
parent | b4fde18263de491650c71bd31dffe3c324e97879 (diff) |
Merge branch 'stable/0.14.z' into prod/pa1ch/0.y.zv0.14.0-pa1chprod/pa1ch/0.y.z
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) |