From 41d8a541323b5a08ef117b5b82b81bc480357a10 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 5 Mar 2023 19:33:05 +0100 Subject: [PATCH] fixup! refactor author placeholder function --- recipes/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/views.py b/recipes/views.py index 7ed9d42..922b0e8 100644 --- a/recipes/views.py +++ b/recipes/views.py @@ -41,7 +41,7 @@ def recipe(request, slug): RECIPE_FORM_PREFIX = 'recipe' VERSION_FORM_PREFIX = 'version' -INGREDIENTS_FORMSET_PREFIX = 'ingredient' # TODO refactor author_placeholder argument +INGREDIENTS_FORMSET_PREFIX = 'ingredient' @login_required def add_recipe(request):