From cead2fc45f33709dbc4150787d0dbbf888b11ab8 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 13 Nov 2019 23:44:23 +0100 Subject: [PATCH] internal / external --- cookbook/views/edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/views/edit.py b/cookbook/views/edit.py index 82fa96da6..bdad01803 100644 --- a/cookbook/views/edit.py +++ b/cookbook/views/edit.py @@ -40,7 +40,7 @@ def internal_recipe_update(request, pk): else: messages.add_message(request, messages.ERROR, _('There was an error importing this recipe!')) else: - form = InternalRecipeForm(recipe_instance) + form = InternalRecipeForm(instance=recipe_instance) return render(request, 'forms/edit_internal_recipe.html', {'form': form})