# HG changeset patch # User Madhusudan.C.S # Date 1295484145 -19800 # Node ID 9cd090b8cd521fdd7fe4f23c9fe24cfdb4d67c4f # Parent c4e9771a274bf683887401d8be05f5e9022cee45 Return whatever context can be shown for non-logged in user for tasks browse. diff -r c4e9771a274b -r 9cd090b8cd52 pytask/taskapp/views.py --- a/pytask/taskapp/views.py Thu Jan 20 06:02:34 2011 +0530 +++ b/pytask/taskapp/views.py Thu Jan 20 06:12:25 2011 +0530 @@ -72,7 +72,8 @@ user = request.user if not user.is_authenticated(): - return shortcuts.render_to_response("task/browse.html") + return shortcuts.render_to_response("task/browse.html", + RequestContext(request, context)) profile = user.get_profile()