Mercurial > public > sg101
annotate gpp/templates/news/current_news.html @ 260:3a4bbf9c2cce
Fixing #107. Apparently some signal handlers were getting connected twice (double import?) and thus saving a forum post would cause 2 email notifications to go out to the post topic's subscribers. Use the dispatch_uid parameter in the connect call to work around this issue.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 22 Sep 2010 00:24:59 +0000 |
parents | 1246a4f1ab4f |
children | daa2916f5b34 |
rev | line source |
---|---|
bgneal@32 | 1 {% if stories %} |
bgneal@32 | 2 <h2>Current News Stories</h2> |
bgneal@32 | 3 {% for story in stories %} |
bgneal@32 | 4 {% include 'news/story_summary.html' %} |
bgneal@32 | 5 {% endfor %} |
bgneal@32 | 6 <hr /> |
bgneal@240 | 7 <p>For more news stories, check out our <a href="{% url news-index_page %}">news archive</a>.</p> |
bgneal@32 | 8 {% endif %} |