From fd09ae15103c48ec99a65ec516c4e929b73cef0a Mon Sep 17 00:00:00 2001 From: smilerz Date: Thu, 18 Mar 2021 15:55:11 -0500 Subject: [PATCH] add description to recipe on submit --- cookbook/views/data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbook/views/data.py b/cookbook/views/data.py index 1ad355a51..21aac5fc6 100644 --- a/cookbook/views/data.py +++ b/cookbook/views/data.py @@ -113,6 +113,7 @@ def import_url(request): recipe = Recipe.objects.create( name=data['name'], + description=data['description'], waiting_time=data['cookTime'], working_time=data['prepTime'], servings=data['servings'],