Mercurial > public > sg101
comparison gpp/urls.py @ 509:248dd8dd67f8
For #237, use Redis as the source of posts for the RSS feeds to hopefully eliminate some slow queries.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 07 Dec 2011 01:08:54 +0000 |
parents | 3b30286adba5 |
children | 51fa1e0ca218 |
comparison
equal
deleted
inserted
replaced
508:6f5fff924877 | 509:248dd8dd67f8 |
---|---|
26 (r'^downloads/', include('downloads.urls')), | 26 (r'^downloads/', include('downloads.urls')), |
27 url(r'^feeds/news/$', | 27 url(r'^feeds/news/$', |
28 cache_page(LatestNewsFeed(), 6 * 60 * 60), | 28 cache_page(LatestNewsFeed(), 6 * 60 * 60), |
29 name='feeds-news'), | 29 name='feeds-news'), |
30 url(r'^feeds/forums/$', | 30 url(r'^feeds/forums/$', |
31 cache_page(ForumsFeed(), 15 * 60), | 31 cache_page(ForumsFeed(), 5 * 60), |
32 {'forum_slug': None}, | 32 {'forum_slug': None}, |
33 'feeds-forum_combined'), | 33 'feeds-forum_combined'), |
34 url(r'^feeds/forums/(?P<forum_slug>[\w\d-]+)/$', | 34 url(r'^feeds/forums/(?P<forum_slug>[\w\d-]+)/$', |
35 cache_page(ForumsFeed(), 15 * 60), | 35 cache_page(ForumsFeed(), 5 * 60), |
36 name='feeds-forum'), | 36 name='feeds-forum'), |
37 (r'^forums/', include('forums.urls')), | 37 (r'^forums/', include('forums.urls')), |
38 (r'^irc/', include('irc.urls')), | 38 (r'^irc/', include('irc.urls')), |
39 (r'^links/', include('weblinks.urls')), | 39 (r'^links/', include('weblinks.urls')), |
40 (r'^member_map/', include('membermap.urls')), | 40 (r'^member_map/', include('membermap.urls')), |