Edit book form
This commit is contained in:
parent
2b451f65ab
commit
75a589571c
5 changed files with 15 additions and 9 deletions
|
@ -433,7 +433,7 @@ def edit_book_page(request, book_identifier):
|
|||
book = books_manager.get_or_create_book(book_identifier)
|
||||
data = {
|
||||
'book': book,
|
||||
'form': forms.BookForm(instance=book)
|
||||
'form': forms.EditionForm(instance=book)
|
||||
}
|
||||
return TemplateResponse(request, 'edit_book.html', data)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue