diff mysite/templates/band/videos.html @ 24:ead7bd49c9e0 django1.3

Changes to support Django 1.3
author Brian Neal <bgneal@gmail.com>
date Tue, 29 Mar 2011 01:51:10 +0000
parents 0dcfcdf50c62
children 25e00d1b99bf
line wrap: on
line diff
--- a/mysite/templates/band/videos.html	Mon Mar 28 03:20:29 2011 +0000
+++ b/mysite/templates/band/videos.html	Tue Mar 29 01:51:10 2011 +0000
@@ -1,11 +1,12 @@
 {% extends 'band/base.html' %}
+{% load url from future %}
 {% block title %}The Madeira | Videos{% endblock %}
 {% block content %}
 <h1>Madeira Videos</h1>
 {% if vidsets %}
    <ul>
    {% for set in vidsets %}
-      <li><a href="{% url mysite.band.views.video_detail set.id %}">{{ set.title }}</a></li>
+      <li><a href="{% url 'mysite.band.views.video_detail' set.id %}">{{ set.title }}</a></li>
    {% endfor %}
    </ul>
 {% else %}