From: Guillaume Pellerin Date: Thu, 16 Aug 2018 14:44:44 +0000 (+0200) Subject: fix urls X-Git-Tag: 1.3.1~5 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3e70d43744a2db75dfae15212edc326e5e3e3394;p=teleforma.git fix urls --- diff --git a/teleforma/urls.py b/teleforma/urls.py index 2e723de9..4913c0c7 100644 --- a/teleforma/urls.py +++ b/teleforma/urls.py @@ -80,8 +80,8 @@ urlpatterns = patterns('', url(r'^desk/periods/(?P.*)/medias/(?P.*)/detail/$', MediaView.as_view(), name="teleforma-media-detail"), url(r'^desk/periods/(?P.*)/medias/(?P.*)/embed/$', MediaViewEmbed.as_view(), name="teleforma-media-embed"), - url(r'^desk/periods/(?P.*)/medias/(?P.*)/download/$', MediaView.download(), name="teleforma-media-download"), - url(r'^desk/periods/(?P.*)/medias/(?P.*)/streaming/$', MediaView.streaming(), name="teleforma-media-streaming"), + url(r'^desk/periods/(?P.*)/medias/(?P.*)/download/$', media.download(), name="teleforma-media-download"), + url(r'^desk/periods/(?P.*)/medias/(?P.*)/streaming/$', media.streaming(), name="teleforma-media-streaming"), url(r'^desk/documents/(?P.*)/detail/$', DocumentView.as_view(), name="teleforma-document-detail"),