diff gpp/templates/podcast/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 7fdfc9b3c71a
children 6e425c9b9d16
line wrap: on
line diff
--- a/gpp/templates/podcast/base.html	Mon Jan 17 04:00:59 2011 +0000
+++ b/gpp/templates/podcast/base.html	Thu Jan 20 04:03:48 2011 +0000
@@ -1,6 +1,7 @@
 {% extends 'base.html' %}
+{% load url from future %}
 {% block content %}
-<h2><a href="{% url podcast-main %}">SurfGuitar101 Podcast</a></h2>
+<h2><a href="{% url 'podcast-main' %}">SurfGuitar101 Podcast</a></h2>
 <img src="{{ channel.image.url }}" alt="Podcast Logo" style="float: left; margin-right:10px;" />
 <p>
 Welcome to the <strong>Surfguitar101 Podcast</strong>! The podcast started as an experiment just to see what it took to create a podcast. The reaction was very positive so hopefully we will start seeing new episodes on a semi-regular basis. You can download the podcast episodes here and we are also listed in iTunes.
@@ -14,7 +15,7 @@
 <a href="mailto:podcast@surfguitar101.com">podcast@surfguitar101.com</a>.
 </p>
 <p>
-Subscribe to the podcast via RSS: <a href="{% url podcast.views.feed %}">Feed</a>
+Subscribe to the podcast via RSS: <a href="{% url 'podcast.views.feed' %}">Feed</a>
 </p>
 <p>
 <strong>Hey iTunes users!</strong> Here is our <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=284928526">listing in iTunes</a>. Follow the previous link and then click the subscribe button to let iTunes automatically download episodes for you.