From a3f9af7e8b5972c549918b1c01118e9d78ec52c8 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Mon, 4 Apr 2011 22:02:42 +0200 Subject: unify urls for easier deliverance integration diff --git a/helsinki/program/urls_program.py b/helsinki/program/urls_program.py index caa302b..d96d7d7 100644 --- a/helsinki/program/urls_program.py +++ b/helsinki/program/urls_program.py @@ -11,10 +11,10 @@ urlpatterns = patterns('', ('^(?P\d{4})/(?P\d{1,2})/$', WeekScheduleView.as_view()), ('^current_box/$', CurrentShowView.as_view()), ('^hosts/$', ListView.as_view(model=Host, context_object_name='hosts')), - url('^host/(?P\d+)/$', DetailView.as_view(model=Host), name='host-detail'), + url('^hosts/(?P\d+)/$', DetailView.as_view(model=Host), name='host-detail'), ('^recommendations/$', RecommendationsView.as_view()), ('^recommendations_box/$', RecommendationsView.as_view(template_name='program/recommendations_box.html')), ('^shows/$', ShowListView.as_view()), - url('^show/(?P[\w-]+)/$', DetailView.as_view(model=Show), name='show-detail'), + url('^shows/(?P[\w-]+)/$', DetailView.as_view(model=Show), name='show-detail'), url('^(?P\d+)/$', DetailView.as_view(model=TimeSlot), name='timeslot-detail'), ) -- cgit v0.10.2