summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py
diff options
context:
space:
mode:
authorAvadoot Nachankar <avadoot298@gmail.com>2015-03-03 19:05:15 +0530
committerAvadoot Nachankar <avadoot298@gmail.com>2015-03-03 19:05:15 +0530
commit26f1039ab6d08fea41e0fe1116aa945bf1ce3fe5 (patch)
tree89e6ae5f31069c8c0a4952487edd76fe84399e5a /gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py
parenta9d17e7fd7678626dc3096ff9f92ff379406c642 (diff)
downloadgnowsys-26f1039ab6d08fea41e0fe1116aa945bf1ce3fe5.tar.gz
Regex code added to support urls either ending with trailing slash or without trailing slash.
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py')
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py
index cb5111d..324371e 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/video.py
@@ -1,7 +1,7 @@
from django.conf.urls import patterns, url
urlpatterns = patterns('gnowsys_ndf.ndf.views.videoDashboard',
- url(r'^$', 'videoDashboard', name='video'),
+ 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'),