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')
)
|