Commit 5613408a authored by fred's avatar fred
Browse files

change archives URLs to always end with a / (makes search form easier)

parent e31d4271
......@@ -14,16 +14,16 @@ urlpatterns = patterns('',
url(r'^program/(?P<year>\d{4})/(?P<week>\d+)/$', 'panikweb.views.program', name='program_week'),
url(r'^grid$', 'panikweb.views.grid', name='grid'),
url(r'^emissions/$', 'panikweb.views.emissions', name='emissions'),
url(r'^emissions/(?P<slug>[\w,-]+)/episodes/$', 'panikweb.views.emissionEpisodes', name='emissionEpisodes'),
url(r'^emissions/(?P<emission_slug>[\w,-]+)/(?P<slug>[\w,-]+)/$', 'panikweb.views.episode', name='episode-view'),
url(r'^emissions/(?P<slug>[\w,-]+)/episodes$', 'panikweb.views.emissionEpisodes', name='emissionEpisodes'),
url(r'^emissions/(?P<slug>[\w,-]+)/$', 'panikweb.views.emission', name='emission-view'),
url(r'^ckeditor/', include('ckeditor.urls')),
url(r'^emissions/archives$', 'panikweb.views.emissionsArchives', name='emissionsArchives'),
url(r'^get$', 'panikweb.views.get', name='get'),
url(r'^listen$', 'panikweb.views.listen', name='listen'),
url(r'^listen/archives$', 'panikweb.views.listenArchives', name='listenArchives'),
url(r'^listen/$', 'panikweb.views.listen', name='listen'),
url(r'^listen/archives/$', 'panikweb.views.listenArchives', name='listenArchives'),
url(r'^news/$', 'panikweb.views.news', name='news'),
url(r'^news/archives$', 'panikweb.views.newsArchives', name='newsArchives'),
url(r'^news/archives/$', 'panikweb.views.newsArchives', name='newsArchives'),
url(r'^news/(?P<slug>[\w,-]+)$', 'panikweb.views.newsitemview', name='news-view'),
url(r'^search/', 'panikweb.search.view', name='search'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment