diff gpp/templates/weblinks/add_link.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
line wrap: on
line diff
--- a/gpp/templates/weblinks/add_link.html	Mon Jan 17 04:00:59 2011 +0000
+++ b/gpp/templates/weblinks/add_link.html	Thu Jan 20 04:03:48 2011 +0000
@@ -1,4 +1,5 @@
 {% extends 'weblinks/base.html' %}
+{% load url from future %}
 {% block title %}Web Links: Add Link{% endblock %}
 {% block weblinks_content %}
    <h3>Add Link</h3>
@@ -7,7 +8,7 @@
    <table>
       {{ add_form.as_table }}
       <tr><td>&nbsp;</td><td><input type="submit" value="Add Link" />
-         &nbsp;<a href="{% url weblinks-main %}">Cancel</a>
+         &nbsp;<a href="{% url 'weblinks-main' %}">Cancel</a>
          </td></tr>
    </table>
    </form>