diff gpp/templates/news/category_index.html @ 240:1246a4f1ab4f

For #93: fix url scheme for the news application.
author Brian Neal <bgneal@gmail.com>
date Wed, 15 Sep 2010 00:14:54 +0000
parents b4305e18d3af
children daa2916f5b34
line wrap: on
line diff
--- a/gpp/templates/news/category_index.html	Sun Sep 12 18:30:23 2010 +0000
+++ b/gpp/templates/news/category_index.html	Wed Sep 15 00:14:54 2010 +0000
@@ -12,7 +12,7 @@
 
 {% for category, story_set in cat_list %}
    <h3>{{ category.title }}</h3>
-   <p><a href="{% url news.views.category category=category.id page=1 %}">
+   <p><a href="{% url news-category slug=category.slug %}">
       <img src="{{ category.icon.url }}" alt="{{ category.title }}" title="{{ category.title }}" />
       </a>
    </p>