view gpp/templates/news/current_news.html @ 197:2baadae33f2e

Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author Brian Neal <bgneal@gmail.com>
date Sat, 10 Apr 2010 04:32:24 +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 %}