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:
Hugh Rundle 2021-11-14 21:21:37 +11:00
parent e211ece346
commit 8495cf8a45
No known key found for this signature in database
GPG key ID: CD23D6039184286B

View file

@ -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",
] ]