mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 06:38:03 -05:00
internal / external
This commit is contained in:
@@ -40,7 +40,7 @@ def internal_recipe_update(request, pk):
|
|||||||
else:
|
else:
|
||||||
messages.add_message(request, messages.ERROR, _('There was an error importing this recipe!'))
|
messages.add_message(request, messages.ERROR, _('There was an error importing this recipe!'))
|
||||||
else:
|
else:
|
||||||
form = InternalRecipeForm(recipe_instance)
|
form = InternalRecipeForm(instance=recipe_instance)
|
||||||
|
|
||||||
return render(request, 'forms/edit_internal_recipe.html', {'form': form})
|
return render(request, 'forms/edit_internal_recipe.html', {'form': form})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user