9725d0bf329974046b0453c0a3e2fd1fbdbff768
[redakcja.git] / apps / wiki / admin.py
1 from django.contrib import admin
2
3 from wiki import models
4
5 class BookAdmin(admin.ModelAdmin):
6     prepopulated_fields = {'slug': ['title']}
7
8
9 admin.site.register(models.Book, BookAdmin)
10 admin.site.register(models.Chunk)
11 admin.site.register(models.Theme)