Mercurial > public > sg101
diff gpp/urls.py @ 385:2a03c69792d8
For #187; tune forums RSS settings. Set TTL to 1 hour; return 30 forum posts instead of 10; cache feed for 15 minutes instead of an hour.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 16 Mar 2011 02:13:38 +0000 |
parents | d8b634e67043 |
children | d4d167876c25 |
line wrap: on
line diff
--- a/gpp/urls.py Wed Mar 16 01:49:10 2011 +0000 +++ b/gpp/urls.py Wed Mar 16 02:13:38 2011 +0000 @@ -27,11 +27,11 @@ cache_page(LatestNewsFeed(), 6 * 60 * 60), name='feeds-news'), url(r'^feeds/forums/$', - cache_page(ForumsFeed(), 1 * 60 * 60), + cache_page(ForumsFeed(), 15 * 60), {'forum_slug': None}, 'feeds-forum_combined'), url(r'^feeds/forums/(?P<forum_slug>[\w\d-]+)/$', - cache_page(ForumsFeed(), 1 * 60 * 60), + cache_page(ForumsFeed(), 15 * 60), name='feeds-forum'), (r'^forums/', include('forums.urls')), (r'^irc/', include('irc.urls')),