comparison gpp/podcast/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 6e425c9b9d16
children ddd69a8e07c7
comparison
equal deleted inserted replaced
572:368d731af479 573:bcc4e8cf841b
9 9
10 10
11 urlpatterns = patterns('podcast.views', 11 urlpatterns = patterns('podcast.views',
12 url(r'^$', 'index', name='podcast-main'), 12 url(r'^$', 'index', name='podcast-main'),
13 url(r'^(\d+)/$', 'detail', name='podcast-detail'), 13 url(r'^(\d+)/$', 'detail', name='podcast-detail'),
14 url(r'^feed.xml/$', cache_page(feed, 3600), name='podcast-feed'), 14 url(r'^feed.xml/$', cache_page(3600)(feed), name='podcast-feed'),
15 ) 15 )