diff gpp/templates/messages/base.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 dbd703f7d63a
children 88b2b9cb8c1f
line wrap: on
line diff
--- a/gpp/templates/messages/base.html	Mon Jan 17 04:00:59 2011 +0000
+++ b/gpp/templates/messages/base.html	Thu Jan 20 04:03:48 2011 +0000
@@ -1,4 +1,5 @@
 {% extends 'base.html' %}
+{% load url from future %}
 {% block custom_css %}
 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" />
 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/messages.css" />
@@ -7,15 +8,15 @@
 <h2>Your Private Messsages</h2>
 <ul class="tab-nav">
 <li><a {% block compose-class %}{% endblock %} 
-   href="{% url messages-compose %}">Compose</a></li>
+   href="{% url 'messages-compose' %}">Compose</a></li>
 <li><a {% block inbox-class %}{% endblock %} 
-   href="{% url messages-inbox %}">Inbox</a></li>
+   href="{% url 'messages-inbox' %}">Inbox</a></li>
 <li><a {% block outbox-class %}{% endblock %} 
-   href="{% url messages-outbox %}">Outbox</a></li>
+   href="{% url 'messages-outbox' %}">Outbox</a></li>
 <li><a {% block trash-class %}{% endblock %} 
-   href="{% url messages-trash %}">Trash</a></li>
+   href="{% url 'messages-trash' %}">Trash</a></li>
 <li><a {% block options-class %}{% endblock %} 
-   href="{% url messages-options %}">Options</a></li>
+   href="{% url 'messages-options' %}">Options</a></li>
 </ul>
 {% block messages_content %}
 {% endblock %}