bgneal@403: """ bgneal@403: urls for the podcast application bgneal@403: bgneal@403: """ bgneal@574: from django.conf.urls import patterns, url bgneal@403: from django.views.decorators.cache import cache_page bgneal@403: bgneal@403: from podcast.views import feed bgneal@403: gremmie@1: gremmie@1: urlpatterns = patterns('podcast.views', gremmie@1: url(r'^$', 'index', name='podcast-main'), bgneal@403: url(r'^(\d+)/$', 'detail', name='podcast-detail'), bgneal@573: url(r'^feed.xml/$', cache_page(3600)(feed), name='podcast-feed'), gremmie@1: )