diff options
author | krishna <kpkrishnapal@gmail.com> | 2014-07-01 13:41:19 +0530 |
---|---|---|
committer | krishna <kpkrishnapal@gmail.com> | 2014-07-01 13:41:19 +0530 |
commit | 6e53a53319c8ceea657cafc833dd967313f1df67 (patch) | |
tree | 4f0b8b0f78fff71e55c019c2cf715f02aba193f3 /gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py | |
parent | cd68ebe095326ad2d7d463afa47c530943380f71 (diff) | |
download | gnowsys-6e53a53319c8ceea657cafc833dd967313f1df67.tar.gz |
video uploading bug resolved
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py index fd4e9e7..fda4633 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py @@ -3,20 +3,21 @@ from django.conf.urls import patterns, url from django.views.generic import TemplateView urlpatterns = patterns('gnowsys_ndf.ndf.views.file', - url(r'^$', 'file', name='file'), -# url(r'^/(?P<file_id>[\w-]+)$', 'file', name='file'), - url(r'^/uploadDoc/$', 'uploadDoc', name='uploadDoc'), #Direct ot html template - url(r'^/submitDoc/', 'submitDoc', name='submitDoc'), - url(r'^/submit/', 'submitDoc', name='submitDoc'), - url(r'^/documentList/', 'GetDoc', name='documentList'), - url(r'^/readDoc/(?P<_id>[\w-]+)/(?:(?P<file_name>[^/]+))?$', 'readDoc', name='read_file'), - url(r'^/search/$', 'file_search', name='file_search'), - url(r'^/details/(?P<_id>[\w-]+)$', 'file_detail', name='file_detail'), - url(r'^/(?P<_id>[\w-]+)$', 'file_detail', name='file_detail'), - url(r'^/thumbnail/(?P<_id>[\w-]+)$', 'getFileThumbnail', name='getFileThumbnail'), - url(r'^/delete_file/(?P<_id>[\w-]+)$', 'delete_file', name='delete_file'), - url(r'^/delete/(?P<_id>[\w-]+)$', 'delete_file', name='delete_file'), - url(r'^/edit_file/(?P<_id>[\w-]+)$', 'file_edit', name='file_edit'), - url(r'^/edit/(?P<_id>[\w-]+)$', 'file_edit', name='file_edit'), + url(r'^$', 'file', name='file'), + url(r'^/$', 'file', name='file'), + # url(r'^/(?P<file_id>[\w-]+)$', 'file', name='file'), + url(r'^/uploadDoc/$', 'uploadDoc', name='uploadDoc'), #Direct ot html template + url(r'^/submitDoc/', 'submitDoc', name='submitDoc'), + url(r'^/submit/', 'submitDoc', name='submitDoc'), + url(r'^/documentList/', 'GetDoc', name='documentList'), + url(r'^/readDoc/(?P<_id>[\w-]+)/(?:(?P<file_name>[^/]+))?$', 'readDoc', name='read_file'), + url(r'^/search/$', 'file_search', name='file_search'), + url(r'^/details/(?P<_id>[\w-]+)$', 'file_detail', name='file_detail'), + url(r'^/(?P<_id>[\w-]+)$', 'file_detail', name='file_detail'), + url(r'^/thumbnail/(?P<_id>[\w-]+)$', 'getFileThumbnail', name='getFileThumbnail'), + #url(r'^/delete_file/(?P<_id>[\w-]+)$', 'delete_file', name='delete_file'), + #url(r'^/delete/(?P<_id>[\w-]+)$', 'delete_file', name='delete_file'), + url(r'^/edit_file/(?P<_id>[\w-]+)$', 'file_edit', name='file_edit'), + url(r'^/edit/(?P<_id>[\w-]+)$', 'file_edit', name='file_edit'), ) |