diff gpp/templates/downloads/index.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 27bee3ac85e6
children 88b2b9cb8c1f
line wrap: on
line diff
--- a/gpp/templates/downloads/index.html	Mon Jan 17 04:00:59 2011 +0000
+++ b/gpp/templates/downloads/index.html	Thu Jan 20 04:03:48 2011 +0000
@@ -1,4 +1,5 @@
 {% extends 'base.html' %}
+{% load url from future %}
 {% load downloads_tags %}
 {% block title %}Downloads{% endblock %}
 {% block custom_css %}
@@ -13,7 +14,7 @@
 <dl>
 {% for category in categories %}
 <dt>
-<a href="{% url downloads-category slug=category.slug sort="title" %}">{{ category.title }}</a>
+<a href="{% url 'downloads-category' slug=category.slug sort="title" %}">{{ category.title }}</a>
 ({{ category.count }})
 </dt>
 <dd><p>{{ category.description }}</p></dd>