changeset 27:c185fcf5817f

Fix links to press article pdf files.
author Brian Neal <bgneal@gmail.com>
date Wed, 30 Mar 2011 01:19:40 +0000
parents efb2da0b5d10
children a404f93a68d3
files mysite/templates/band/press.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mysite/templates/band/press.html	Wed Mar 30 00:16:32 2011 +0000
+++ b/mysite/templates/band/press.html	Wed Mar 30 01:19:40 2011 +0000
@@ -30,7 +30,7 @@
       |
       {% endif %}
       {% if article.pdf %}
-      <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a>
+      <a href="{{ article.pdf.url }}" target="_blank">Original article as PDF</a>
       <a href="http://www.adobe.com/products/acrobat/readstep2.html">
          <img src="{{ STATIC_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0"
          align="middle" /></a>