summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py
blob: cb5111d074310ac88f06801140dce82ede6f7dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.conf.urls import patterns, url

urlpatterns = patterns('gnowsys_ndf.ndf.views.videoDashboard',
                        url(r'^$', 'videoDashboard', name='video'),
#                        url(r'^(?P<video_id>[\w-]+)$', 'videoDashboard', name='video'),
                        #url(r'^videos/', 'videoDashboard', name='videoDashboard'),              
                        url(r'^/thumbnail/(?P<_id>[\w-]+)$', 'getvideoThumbnail', name='getvideoThumbnail'),
                        url(r'^/fullvideo/(?P<_id>[\w-]+)$', 'getFullvideo', name='getFullvideo'),
                        url(r'^/video_search/$', 'video_search', name='video_search'),
                        url(r'^/(?P<_id>[\w-]+)$', 'video_detail', name='video_detail'),
                        url(r'^/details/(?P<_id>[\w-]+)$', 'video_detail', name='video_detail'),
                        url(r'^/edit/(?P<_id>[\w-]+)$', 'video_edit', name='video_edit')
)