mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 22:58:19 -05:00
fixed shopping list headers #78
This commit is contained in:
@@ -196,7 +196,7 @@ def shopping_list(request):
|
|||||||
ingredients = []
|
ingredients = []
|
||||||
|
|
||||||
for r in recipes:
|
for r in recipes:
|
||||||
for ri in RecipeIngredient.objects.filter(recipe=r).all():
|
for ri in RecipeIngredient.objects.filter(recipe=r).exclude(unit__name__contains='Special:').all():
|
||||||
index = None
|
index = None
|
||||||
for x, ig in enumerate(ingredients):
|
for x, ig in enumerate(ingredients):
|
||||||
if ri.ingredient == ig.ingredient and ri.unit == ig.unit:
|
if ri.ingredient == ig.ingredient and ri.unit == ig.unit:
|
||||||
|
|||||||
Reference in New Issue
Block a user