diff gpp/templates/membermap/balloon.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 4532ed27bed8
children 3c48a555298d
line wrap: on
line diff
--- a/gpp/templates/membermap/balloon.html	Mon Jan 17 04:00:59 2011 +0000
+++ b/gpp/templates/membermap/balloon.html	Thu Jan 20 04:03:48 2011 +0000
@@ -1,6 +1,7 @@
+{% load url from future %}
 {% if avatar_url %}
-<a href="{% url bio-view_profile username=user.name %}">
+<a href="{% url 'bio-view_profile' username=user.name %}">
 <img src="{{ avatar_url }}" alt="{{ user.name }}" style="float:left;margin-right:3px;" /></a>
 {% endif %}
-<a href="{% url bio-view_profile username=user.name %}">{{ user.name }}</a>:<br />
+<a href="{% url 'bio-view_profile' username=user.name %}">{{ user.name }}</a>:<br />
 {{ user.message|safe }}