fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change field length.
[redakcja.git]
/
src
/
catalogue
/
admin.py
diff --git
a/src/catalogue/admin.py
b/src/catalogue/admin.py
index
399f9fd
..
c319af5
100644
(file)
--- a/
src/catalogue/admin.py
+++ b/
src/catalogue/admin.py
@@
-328,13
+328,13
@@
class SourcesInline(admin.TabularInline):
extra = 1
extra = 1
-class
Sources
Inline(admin.TabularInline):
+class
EditorNote
Inline(admin.TabularInline):
model = models.EditorNote
extra = 1
class BookAdmin(WikidataAdminMixin, NumericFilterModelAdmin, VersionAdmin):
model = models.EditorNote
extra = 1
class BookAdmin(WikidataAdminMixin, NumericFilterModelAdmin, VersionAdmin):
- inlines = [SourcesInline]
+ inlines = [
EditorNoteInline,
SourcesInline]
list_display = [
"smart_title",
"authors_str",
list_display = [
"smart_title",
"authors_str",