aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin.py b/admin.py
index 7739a95..011ad73 100644
--- a/admin.py
+++ b/admin.py
@@ -55,7 +55,7 @@ class GroupAdmin(admin.ModelAdmin):
@admin.register(Room)
class RoomAdmin(admin.ModelAdmin):
- pass
+ prepopulated_fields = {"slug": ("name",)}
@admin.register(Course)