Use the right url reverse name for profile views.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 20 Jan 2011 06:02:34 +0530
changeset 488 c4e9771a274b
parent 487 dad3fd6464b8
child 489 9cd090b8cd52
Use the right url reverse name for profile views.
pytask/templates/task/view.html
--- a/pytask/templates/task/view.html	Thu Jan 20 06:02:04 2011 +0530
+++ b/pytask/templates/task/view.html	Thu Jan 20 06:02:34 2011 +0530
@@ -62,7 +62,7 @@
 
     Users working on this task:
     {% for user in selected_users %}
-      <a href="{% url view_profile user.id %}">{{user.username}}</a>
+      <a href="{% url view_user_profile user.id %}">{{user.username}}</a>
     {% endfor %}
     <br />
 
@@ -80,7 +80,7 @@
 
     comments:<br /><br />
     {% for comment in comments %}
-      <a href="{% url view_profile comment.commented_by.id %}">
+      <a href="{% url view_user_profile comment.commented_by.id %}">
         {{ comment.commented_by.username }}
       </a> 
       on {{ comment.comment_datetime|date:"D d M Y"}} at