Fix comment field reference in admin. #11

This commit is contained in:
Gabriel Augendre 2018-06-02 16:52:36 +02:00
parent ef734d7c23
commit 97df728101

View file

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