diff gpp/templates/bio/avatar.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 6a5549c2efb5
children 3c48a555298d
line wrap: on
line diff
--- a/gpp/templates/bio/avatar.html	Mon Jan 17 04:00:59 2011 +0000
+++ b/gpp/templates/bio/avatar.html	Thu Jan 20 04:03:48 2011 +0000
@@ -1,4 +1,5 @@
 {% extends 'bio/base.html' %}
+{% load url from future %}
 {% load avatar_tags %}
 {% block title %}Change My Avatar{% endblock %}
 {% block content %}
@@ -18,6 +19,6 @@
    <form enctype="multipart/form-data" method="POST" action=".">{% csrf_token %}
       {{ form.as_p }}
       <input type="submit" value="Update Avatar" />
-      &nbsp;<a href="{% url bio-me %}">Cancel</a>
+      &nbsp;<a href="{% url 'bio-me' %}">Cancel</a>
    </form>
 {% endblock %}