internal / external

This commit is contained in:
vabene1111 2019-11-13 23:44:23 +01:00
parent c688253144
commit cead2fc45f

View File

@ -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})