Use the view_user_profile reverse view name for the profiles of non-logged in users.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Fri, 21 Jan 2011 00:17:10 +0530
changeset 503 a3e85fd764c7
parent 502 1e5df997eb01
child 504 3b78ea899168
Use the view_user_profile reverse view name for the profiles of non-logged in users.
pytask/templates/task/claim.html
--- a/pytask/templates/task/claim.html	Thu Jan 20 17:47:41 2011 +0530
+++ b/pytask/templates/task/claim.html	Fri Jan 21 00:17:10 2011 +0530
@@ -10,7 +10,7 @@
         List of all the claims for the task <a href="{% url view_task task.id %}">{{task.title}}</a><br />
         {% for claim in old_claims %}
             <hr />
-            <a href="{% url view_profile claim.claimed_by.id %}">{{claim.claimed_by.username}}</a>
+            <a href="{% url view_user_profile claim.claimed_by.id %}">{{claim.claimed_by.username}}</a>
             on {{claim.claim_datetime|date:"D d M Y"}} at {{claim.claim_datetime|time:"H:i"}} wrote:<br />
             {{claim.proposal|linebreaksbr}}<br />
         {% endfor %}