diff gpp/templates/gcalendar/event.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 d77e0dc772ad
children 9a4bffdf37c3
line wrap: on
line diff
--- a/gpp/templates/gcalendar/event.html	Mon Jan 17 04:00:59 2011 +0000
+++ b/gpp/templates/gcalendar/event.html	Thu Jan 20 04:03:48 2011 +0000
@@ -1,11 +1,12 @@
 {% extends 'base.html' %}
+{% load url from future %}
 {% load core_tags %}
 {% block title %}{{ title }}{% endblock %}
 {% block custom_js %}
 {{ form.media }}
 {% endblock %}
 {% block content %}
-<div class="breadcrumbs"><a href="{% url gcalendar-index %}">Calendar</a> &raquo; {{ title }}</div>
+<div class="breadcrumbs"><a href="{% url 'gcalendar-index' %}">Calendar</a> &raquo; {{ title }}</div>
 <h2>{{ title }}</h2>
 <p>Use this form to add or change an event on our calendar. Please note the following:</p>
 <ul>
@@ -42,5 +43,5 @@
 <tr><td>&nbsp;</td><td>{% comment_dialogs %}<input type="submit" name="submit_button" value="Submit" /></td></tr>
 </table>
 </form>
-<p><a href="{% url gcalendar-index %}">&laquo; Back to the Event Calendar</a></p>
+<p><a href="{% url 'gcalendar-index' %}">&laquo; Back to the Event Calendar</a></p>
 {% endblock %}