X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c46844cb5a794566d15437b0c4a809e9230baecf..9b533fdbfd08bd764744ae3a0d4717c87b61cf18:/src/catalogue/admin.py diff --git a/src/catalogue/admin.py b/src/catalogue/admin.py index 399f9fdd..c319af50 100644 --- a/src/catalogue/admin.py +++ b/src/catalogue/admin.py @@ -328,13 +328,13 @@ class SourcesInline(admin.TabularInline): extra = 1 -class SourcesInline(admin.TabularInline): +class EditorNoteInline(admin.TabularInline): model = models.EditorNote extra = 1 class BookAdmin(WikidataAdminMixin, NumericFilterModelAdmin, VersionAdmin): - inlines = [SourcesInline] + inlines = [EditorNoteInline, SourcesInline] list_display = [ "smart_title", "authors_str",