diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-03-01 10:44:28 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-03-01 10:44:28 (GMT) |
commit | b23c473e3af9e7c4e5c7aee6bfc93cde40737d94 (patch) | |
tree | 74092e34afd69a6d2f0afbb83bbb1e0951b8f49a /program/urls.py | |
parent | 850f92794a2571f44fd95f53a3f96f5ea659b3a4 (diff) |
fix vew names and url tag parameters for v2 templates
Diffstat (limited to 'program/urls.py')
-rw-r--r-- | program/urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/urls.py b/program/urls.py index cb389e2..378faf1 100644 --- a/program/urls.py +++ b/program/urls.py @@ -27,12 +27,12 @@ urlpatterns = patterns('', url(r'^v2/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/?$', views.DayScheduleViewV2.as_view()), url(r'^v2/current_box/?$', cache_page(60)(views.CurrentShowBoxViewV2.as_view())), url(r'^v2/hosts/?$', views.HostListViewV2.as_view()), - url(r'^v2/hosts/(?P<pk>\d+)/?$', views.HostDetailViewV2.as_view(), name='host-detail'), + url(r'^v2/hosts/(?P<pk>\d+)/?$', views.HostDetailViewV2.as_view(), name='host-detail-v2'), url(r'^v2/tips/?$', views.RecommendationsListViewV2.as_view()), url(r'^v2/tips_box/?$', views.RecommendationsBoxViewV2.as_view()), url(r'^v2/shows/?$', views.ShowListViewV2.as_view()), - url(r'^v2/shows/(?P<slug>[\w-]+)/?$', views.ShowDetailViewV2.as_view(), name='show-detail'), - url(r'^v2/(?P<pk>\d+)/?$', views.TimeSlotDetailViewV2.as_view(), name='timeslot-detail'), + url(r'^v2/shows/(?P<slug>[\w-]+)/?$', views.ShowDetailViewV2.as_view(), name='show-detail-v2'), + url(r'^v2/(?P<pk>\d+)/?$', views.TimeSlotDetailViewV2.as_view(), name='timeslot-detail-v2'), ) if settings.DEBUG: urlpatterns += \ |