diff options
author | krishna <kpkrishnapal@gmail.com> | 2014-04-07 18:56:52 +0530 |
---|---|---|
committer | krishna <kpkrishnapal@gmail.com> | 2014-04-07 18:56:52 +0530 |
commit | 467b2128580a3e501f486ea81891aad854fc38fd (patch) | |
tree | 261a58d18d8f097bd5abb14019cd885679ed968b /gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py | |
parent | 5cf19df05bc9a577c1a550d4e7e6faba3ed988ea (diff) | |
download | gnowsys-467b2128580a3e501f486ea81891aad854fc38fd.tar.gz |
resolve issues depend on uploading file via designer
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py index b98ee4e..d7c8596 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py @@ -8,7 +8,7 @@ urlpatterns = patterns('gnowsys_ndf.ndf.views.file', 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'^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'^thumbnail/(?P<_id>[\w-]+)$', 'getFileThumbnail', name='getFileThumbnail'), |