Display comment in admin. Close #11

This commit is contained in:
Gabriel Augendre 2018-06-02 16:35:06 +02:00
parent e294221748
commit 1fe1db483d

View file

@ -48,7 +48,7 @@ class BookAdmin(ExportMixin, admin.ModelAdmin):
list_display_links = ['title']
fieldsets = [
('Infos livre', {
'fields': ('title', 'authors', 'editor', 'publication_year', 'isbn', 'created_at', 'updated_at')
'fields': ('title', 'authors', 'editor', 'publication_year', 'isbn', 'created_at', 'updated_at', 'comment')
}),
('Élève', {
'fields': ('price', 'previously_acquired',)