# HG changeset patch # User Branko Majic # Date 2013-02-19 21:10:37 # Node ID cdf95f86ba0701a116b541e6057e3c66f96c0b03 # Parent 11c89784b7d7a804d416c19cd99de0cd1c6f808c Forgot to provide all ingredients on the user's page. diff --git a/djangoshaker/views.py b/djangoshaker/views.py --- a/djangoshaker/views.py +++ b/djangoshaker/views.py @@ -61,6 +61,8 @@ class UserView(TemplateView): print recipe.name available_recipes.append(recipe) context['available_recipes'] = available_recipes + else: + context['ingredients'] = Ingredient.objects.all() return context