Fix comment field reference in admin. #11
This commit is contained in:
parent
ef734d7c23
commit
97df728101
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class BookAdmin(ExportMixin, admin.ModelAdmin):
|
||||||
list_display_links = ['title']
|
list_display_links = ['title']
|
||||||
fieldsets = [
|
fieldsets = [
|
||||||
('Infos livre', {
|
('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', {
|
('Élève', {
|
||||||
'fields': ('price', 'previously_acquired',)
|
'fields': ('price', 'previously_acquired',)
|
||||||
|
|
Loading…
Reference in a new issue