assigning tickets, new ui
[redakcja.git] / apps / wiki / admin.py
index 1a61b66..9725d0b 100644 (file)
@@ -2,4 +2,10 @@ from django.contrib import admin
 
 from wiki import models
 
+class BookAdmin(admin.ModelAdmin):
+    prepopulated_fields = {'slug': ['title']}
+
+
+admin.site.register(models.Book, BookAdmin)
+admin.site.register(models.Chunk)
 admin.site.register(models.Theme)