Merge pull request #1605 from hughrun/author-form
Don't delete non-form data when editing authors
This commit is contained in:
@ -201,12 +201,18 @@ 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",
|
||||||
|
"inventaire_id",
|
||||||
|
"librarything_key",
|
||||||
|
"goodreads_key",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user