diff mysite/templates/band/press_detail.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/press_detail.html	Mon Mar 28 03:20:29 2011 +0000
+++ b/mysite/templates/band/press_detail.html	Tue Mar 29 01:51:10 2011 +0000
@@ -1,4 +1,5 @@
 {% extends 'band/base.html' %}
+{% load url from future %}
 {% load markup %}
 {% block title %}The Madeira | Press{% endblock %}
 {% block content %}
@@ -21,8 +22,8 @@
 {% if article.pdf %}
 <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a>
 <a href="http://www.adobe.com/products/acrobat/readstep2.html">
-   <img src="{{ MEDIA_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0"
+   <img src="{{ STATIC_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0"
    align="middle" /></a>
 {% endif %}
-<p><a href="{% url mysite.band.views.press_index %}">Press index</a></p>
+<p><a href="{% url 'mysite.band.views.press_index' %}">Press index</a></p>
 {% endblock %}