diff options
Diffstat (limited to 'helsinki/program')
-rw-r--r-- | helsinki/program/urls_program.py | 4 |
1 files changed, 2 insertions, 2 deletions
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<year>\d{4})/(?P<week>\d{1,2})/$', WeekScheduleView.as_view()), ('^current_box/$', CurrentShowView.as_view()), ('^hosts/$', ListView.as_view(model=Host, context_object_name='hosts')), - url('^host/(?P<pk>\d+)/$', DetailView.as_view(model=Host), name='host-detail'), + url('^hosts/(?P<pk>\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<slug>[\w-]+)/$', DetailView.as_view(model=Show), name='show-detail'), + url('^shows/(?P<slug>[\w-]+)/$', DetailView.as_view(model=Show), name='show-detail'), url('^(?P<pk>\d+)/$', DetailView.as_view(model=TimeSlot), name='timeslot-detail'), ) |