Changeset - cdf95f86ba07
[Not reviewed]
default
0 1 0
Branko Majic (branko) - 13 years ago 2013-02-19 21:10:37
branko@majic.rs
Forgot to provide all ingredients on the user's page.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
djangoshaker/views.py
Show inline comments
 
@@ -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
 

	
0 comments (0 inline, 0 general)