Display comment in admin. Close #11
This commit is contained in:
parent
e294221748
commit
1fe1db483d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,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')
|
'fields': ('title', 'authors', 'editor', 'publication_year', 'isbn', 'created_at', 'updated_at', 'comment')
|
||||||
}),
|
}),
|
||||||
('Élève', {
|
('Élève', {
|
||||||
'fields': ('price', 'previously_acquired',)
|
'fields': ('price', 'previously_acquired',)
|
||||||
|
|
Loading…
Reference in a new issue