Mercurial > public > sg101
diff gpp/templates/comments/comment.html @ 310:daa2916f5b34
Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 20 Jan 2011 04:03:48 +0000 |
parents | 8c1832b9d815 |
children | 88b2b9cb8c1f |
line wrap: on
line diff
--- a/gpp/templates/comments/comment.html Mon Jan 17 04:00:59 2011 +0000 +++ b/gpp/templates/comments/comment.html Thu Jan 20 04:03:48 2011 +0000 @@ -1,8 +1,9 @@ +{% load url from future %} {% load avatar_tags %} <div class="comment" id="c{{ comment.id }}"> <div class="comment-list">{{ forloop.counter }}.</div> <div class="comment-avatar"> -<a href="{% url bio-view_profile username=comment.user.username%}">{% avatar comment.user %}</a> +<a href="{% url 'bio-view_profile' username=comment.user.username%}">{% avatar comment.user %}</a> </div> {% if comment.is_removed %} <div class="comment-text-removed"><p><em>This comment has been removed.</em></p></div> @@ -10,7 +11,7 @@ <div class="comment-text">{{ comment.html|safe }}</div> {% endif %} <div class="comment-details"> -<a href="{% url bio-view_profile username=comment.user.username%}" +<a href="{% url 'bio-view_profile' username=comment.user.username%}" title="View profile for {{ comment.user.username }}">{{ comment.user.username }}</a> | {{ comment.creation_date|date:"d-M-Y H:i:s" }} {% if not comment.is_removed %}