view gpp/templates/news/current_news.html @ 320:66cc2f8c4603

Removed a raise of CommandError, which was left over from when this code started life as a Django management command.
author Brian Neal <bgneal@gmail.com>
date Tue, 08 Feb 2011 03:53:10 +0000
parents daa2916f5b34
children
line wrap: on
line source
{% load url from future %}
{% if stories %}
<h2>Current News Stories</h2>
{% for story in stories %}
   {% include 'news/story_summary.html' %}
{% endfor %}
<hr />
<p>For more news stories, check out our <a href="{% url 'news-index_page' %}">news archive</a>.</p>
{% endif %}