Adds missing save in edit book view
This commit is contained in:
parent
330be16516
commit
b0d8697006
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class EditBook(View):
|
||||||
for author_id in remove_authors:
|
for author_id in remove_authors:
|
||||||
book.authors.remove(author_id)
|
book.authors.remove(author_id)
|
||||||
|
|
||||||
book = form.save(commit=False)
|
book = form.save(request, commit=False)
|
||||||
|
|
||||||
url = request.POST.get("cover-url")
|
url = request.POST.get("cover-url")
|
||||||
if url:
|
if url:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue