added waiting time

This commit is contained in:
vabene1111
2019-12-26 11:32:04 +01:00
parent 40277f9b4f
commit 42faafef9f
5 changed files with 47 additions and 13 deletions

View File

@ -45,7 +45,8 @@ def internal_recipe_update(request, pk):
recipe = recipe_instance
recipe.name = form.cleaned_data['name']
recipe.instructions = form.cleaned_data['instructions']
recipe.time = form.cleaned_data['time']
recipe.working_time = form.cleaned_data['working_time']
recipe.waiting_time = form.cleaned_data['waiting_time']
if form.cleaned_data['image']:
recipe.image = form.cleaned_data['image']