Mercurial > public > sg101
comparison gpp/urls.py @ 573:bcc4e8cf841b
For Django 1.4, update to newer versions of cache_page usage.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 02 May 2012 21:00:12 -0500 |
parents | c092efc9ce71 |
children | ddd69a8e07c7 |
comparison
equal
deleted
inserted
replaced
572:368d731af479 | 573:bcc4e8cf841b |
---|---|
24 (r'^contests/', include('contests.urls')), | 24 (r'^contests/', include('contests.urls')), |
25 (r'^core/', include('core.urls')), | 25 (r'^core/', include('core.urls')), |
26 (r'^donations/', include('donations.urls')), | 26 (r'^donations/', include('donations.urls')), |
27 (r'^downloads/', include('downloads.urls')), | 27 (r'^downloads/', include('downloads.urls')), |
28 url(r'^feeds/news/$', | 28 url(r'^feeds/news/$', |
29 cache_page(LatestNewsFeed(), 6 * 60 * 60), | 29 cache_page(6 * 60 * 60)(LatestNewsFeed()), |
30 name='feeds-news'), | 30 name='feeds-news'), |
31 url(r'^feeds/forums/$', | 31 url(r'^feeds/forums/$', |
32 cache_page(ForumsFeed(), 5 * 60), | 32 cache_page(5 * 60)(ForumsFeed()), |
33 {'forum_slug': None}, | 33 {'forum_slug': None}, |
34 'feeds-forum_combined'), | 34 'feeds-forum_combined'), |
35 url(r'^feeds/forums/(?P<forum_slug>[\w\d-]+)/$', | 35 url(r'^feeds/forums/(?P<forum_slug>[\w\d-]+)/$', |
36 cache_page(ForumsFeed(), 5 * 60), | 36 cache_page(5 * 60)(ForumsFeed()), |
37 name='feeds-forum'), | 37 name='feeds-forum'), |
38 (r'^forums/', include('forums.urls')), | 38 (r'^forums/', include('forums.urls')), |
39 (r'^irc/', include('irc.urls')), | 39 (r'^irc/', include('irc.urls')), |
40 (r'^links/', include('weblinks.urls')), | 40 (r'^links/', include('weblinks.urls')), |
41 (r'^member_map/', include('membermap.urls')), | 41 (r'^member_map/', include('membermap.urls')), |