Fix missing consumable
This commit is contained in:
parent
cfbee2b0dd
commit
b221494834
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ class AddBookView(BookView, AddItemView):
|
||||||
price=form.cleaned_data['price'],
|
price=form.cleaned_data['price'],
|
||||||
previously_acquired=form.cleaned_data['previously_acquired'],
|
previously_acquired=form.cleaned_data['previously_acquired'],
|
||||||
comments=form.cleaned_data['comments'],
|
comments=form.cleaned_data['comments'],
|
||||||
|
consumable=form.cleaned_data['consumable'],
|
||||||
)
|
)
|
||||||
messages.success(self.request, f'"{book}" a été ajouté.')
|
messages.success(self.request, f'"{book}" a été ajouté.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue