Mercurial > public > sg101
view gpp/templates/news/current_news.html @ 118:a20b2c492d55
Reduced some sql queries by adding a select_related and monkey patching user profiles onto a user list in shoutbox and the bio/member's list, respectively.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 24 Oct 2009 02:39:19 +0000 |
parents | 07da6967fc40 |
children | da46e77cd804 |
line wrap: on
line source
{% load tagging_tags %} {% if stories %} <h2>Current News Stories</h2> {% for story in stories %} {% tags_for_object story as story_tags %} {% include 'news/story_summary.html' %} {% endfor %} <hr /> <p>For more news stories, check out our <a href="{% url news-index_page page=1 %}">news archive</a>.</p> {% endif %}