fixed a few broken links to templates
authorNishanth Amuluru <nishanth@fossee.in>
Wed, 12 Jan 2011 00:19:22 +0530
changeset 148 026f2059a97a
parent 147 979f2f44050a
child 149 32dd15eaf9d0
fixed a few broken links to templates
pytask/taskapp/views.py
--- a/pytask/taskapp/views.py	Tue Jan 11 22:43:56 2011 +0530
+++ b/pytask/taskapp/views.py	Wed Jan 12 00:19:22 2011 +0530
@@ -100,7 +100,7 @@
     user = request.user
 
     if not user.is_authenticated():
-        return render_to_response("/task/view.html", {"task": task})
+        return render_to_response("task/view.html", {"task": task})
 
     profile = user.get_profile()
 
@@ -317,7 +317,7 @@
               }
 
     if not user.is_authenticated():
-        return render_to_response("/task/view_work.html", context)
+        return render_to_response("task/view_work.html", context)
 
     profile = user.get_profile()