X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c46844cb5a794566d15437b0c4a809e9230baecf..c51d32b7b97016260e4c60dda9fbbd9eb25420ce:/src/catalogue/admin.py?ds=inline 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",