-from catalogue.models import Tag, Book, Fragment
+from catalogue.models import Tag, Book, Fragment, BookMedia
-
- list_display = ('title', 'slug', 'has_pdf_file', 'has_odt_file', 'has_html_file', 'has_description',)
+
+ list_display = ('title', 'slug', 'has_pdf_file', 'has_epub_file', 'has_html_file', 'has_description',)
list_display = ('book', 'anchor',)
ordering = ('book', 'anchor',)
list_display = ('book', 'anchor',)
ordering = ('book', 'anchor',)
admin.site.register(Tag, TagAdmin)
admin.site.register(Book, BookAdmin)
admin.site.register(Fragment, FragmentAdmin)
admin.site.register(Tag, TagAdmin)
admin.site.register(Book, BookAdmin)
admin.site.register(Fragment, FragmentAdmin)