mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 12:18:45 -05:00
add description to recipe on submit
This commit is contained in:
@@ -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'],
|
||||||
|
|||||||
Reference in New Issue
Block a user