rename Chunk.comment to Chunk.title
[redakcja.git] / apps / catalogue / admin.py
1 from django.contrib import admin
2
3 from catalogue 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
12 admin.site.register(models.Chunk.tag_model)