Fix missing consumable

This commit is contained in:
Gabriel Augendre 2019-05-28 12:54:17 +02:00 committed by GitHub
parent cfbee2b0dd
commit b221494834
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,6 +139,7 @@ class AddBookView(BookView, AddItemView):
price=form.cleaned_data['price'],
previously_acquired=form.cleaned_data['previously_acquired'],
comments=form.cleaned_data['comments'],
consumable=form.cleaned_data['consumable'],
)
messages.success(self.request, f'"{book}" a été ajouté.')