mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-29 10:28:14 +00:00
don't delete non-form data when editing authors
fixes #1584 This is a temporary fix. As Mouse has suggested, ultimately it would be good to re-import data from one or more of the linked data sources if there is anything missing.
This commit is contained in:
parent
e211ece346
commit
8495cf8a45
1 changed files with 11 additions and 6 deletions
|
@ -201,12 +201,17 @@ class EditionForm(CustomForm):
|
||||||
class AuthorForm(CustomForm):
|
class AuthorForm(CustomForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = models.Author
|
model = models.Author
|
||||||
exclude = [
|
fields = [
|
||||||
"remote_id",
|
"last_edited_by",
|
||||||
"origin_id",
|
"name",
|
||||||
"created_date",
|
"aliases",
|
||||||
"updated_date",
|
"bio",
|
||||||
"search_vector",
|
"wikipedia_link",
|
||||||
|
"born",
|
||||||
|
"died",
|
||||||
|
"openlibrary_key",
|
||||||
|
"librarything_key",
|
||||||
|
"goodreads_key",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue