comparison 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
comparison
equal deleted inserted replaced
384:957955279a15 385:2a03c69792d8
25 (r'^downloads/', include('downloads.urls')), 25 (r'^downloads/', include('downloads.urls')),
26 url(r'^feeds/news/$', 26 url(r'^feeds/news/$',
27 cache_page(LatestNewsFeed(), 6 * 60 * 60), 27 cache_page(LatestNewsFeed(), 6 * 60 * 60),
28 name='feeds-news'), 28 name='feeds-news'),
29 url(r'^feeds/forums/$', 29 url(r'^feeds/forums/$',
30 cache_page(ForumsFeed(), 1 * 60 * 60), 30 cache_page(ForumsFeed(), 15 * 60),
31 {'forum_slug': None}, 31 {'forum_slug': None},
32 'feeds-forum_combined'), 32 'feeds-forum_combined'),
33 url(r'^feeds/forums/(?P<forum_slug>[\w\d-]+)/$', 33 url(r'^feeds/forums/(?P<forum_slug>[\w\d-]+)/$',
34 cache_page(ForumsFeed(), 1 * 60 * 60), 34 cache_page(ForumsFeed(), 15 * 60),
35 name='feeds-forum'), 35 name='feeds-forum'),
36 (r'^forums/', include('forums.urls')), 36 (r'^forums/', include('forums.urls')),
37 (r'^irc/', include('irc.urls')), 37 (r'^irc/', include('irc.urls')),
38 (r'^links/', include('weblinks.urls')), 38 (r'^links/', include('weblinks.urls')),
39 (r'^member_map/', include('membermap.urls')), 39 (r'^member_map/', include('membermap.urls')),