from modeltranslation.admin import TabbedTranslationAdmin
from . import models
import documents.models
+import sources.models
from .wikidata import WikidataAdminMixin
]
+class SourcesInline(admin.TabularInline):
+ model = sources.models.BookSource
+ extra = 1
+
+
class BookAdmin(WikidataAdminMixin, NumericFilterModelAdmin):
+ inlines = [SourcesInline]
list_display = [
"smart_title",
"authors_str",
"based_on",
"original_year",
"pd_year",
+ "plwiki",
]
},
),