bgneal@403: """ bgneal@403: urls for the podcast application bgneal@403: bgneal@403: """ gremmie@1: from django.conf.urls.defaults import * 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@403: url(r'^feed.xml/$', cache_page(feed, 3600), name='podcast-feed'), gremmie@1: )