internal / external
This commit is contained in:
parent
c688253144
commit
cead2fc45f
@ -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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user