1 from django.contrib import admin
3 from wiki import models
5 class BookAdmin(admin.ModelAdmin):
6 prepopulated_fields = {'slug': ['title']}
9 admin.site.register(models.Book, BookAdmin)
10 admin.site.register(models.Chunk)
11 admin.site.register(models.Theme)
13 admin.site.register(models.Chunk.tag_model)