some more recipe edit cleanup
This commit is contained in:
@ -73,7 +73,7 @@ def internal_recipe_update(request, pk):
|
||||
|
||||
recipe.save()
|
||||
|
||||
form_ingredients = json.loads(form.data['ingredients'])
|
||||
form_ingredients = json.loads(form.cleaned_data['ingredients'])
|
||||
RecipeIngredients.objects.filter(recipe=recipe_instance).delete()
|
||||
|
||||
for i in form_ingredients:
|
||||
|
Reference in New Issue
Block a user