add description to recipe on submit

This commit is contained in:
smilerz
2021-03-18 15:55:11 -05:00
parent 9137fbfb97
commit fd09ae1510

View File

@@ -113,6 +113,7 @@ def import_url(request):
recipe = Recipe.objects.create( recipe = Recipe.objects.create(
name=data['name'], name=data['name'],
description=data['description'],
waiting_time=data['cookTime'], waiting_time=data['cookTime'],
working_time=data['prepTime'], working_time=data['prepTime'],
servings=data['servings'], servings=data['servings'],