Mercurial > public > sg101
annotate podcast/urls.py @ 1101:999b32c63cae
Made main menu aligned to right.
Since expanded seems broken...
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 06 Jul 2016 19:46:20 -0500 |
parents | 5ba2508939f7 |
children |
rev | line source |
---|---|
bgneal@403 | 1 """ |
bgneal@403 | 2 urls for the podcast application |
bgneal@403 | 3 |
bgneal@403 | 4 """ |
bgneal@1028 | 5 from django.conf.urls import url |
bgneal@403 | 6 from django.views.decorators.cache import cache_page |
bgneal@403 | 7 |
bgneal@1028 | 8 import podcast.views |
bgneal@403 | 9 |
gremmie@1 | 10 |
bgneal@1028 | 11 urlpatterns = [ |
bgneal@1028 | 12 url(r'^$', podcast.views.index, name='podcast-main'), |
bgneal@1028 | 13 url(r'^(\d+)/$', podcast.views.detail, name='podcast-detail'), |
bgneal@1028 | 14 url(r'^feed.xml/$', cache_page(3600)(podcast.views.feed), name='podcast-feed'), |
bgneal@1028 | 15 ] |