aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin.py b/admin.py
index def84f0..928b63e 100644
--- a/admin.py
+++ b/admin.py
@@ -65,6 +65,8 @@ class GroupAdmin(admin.ModelAdmin):
@admin.register(Room)
class RoomAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("name",)}
+ list_display = ("name",)
+ ordering = ("name",)
@admin.register(Course)