diff options
author | krishna31 <kpkrishnapal@gmail.com> | 2013-12-02 15:45:29 +0530 |
---|---|---|
committer | krishna31 <kpkrishnapal@gmail.com> | 2013-12-02 15:45:29 +0530 |
commit | dc72d5ebc326a3ba1b058e4d33f72e9b7b464c4e (patch) | |
tree | fd41896e6be402fa9d8fba9f1757de885bd251a0 /gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py | |
parent | 371688d667ea73f9d0fe0af496e09eab02bb5953 (diff) | |
download | gnowsys-dc72d5ebc326a3ba1b058e4d33f72e9b7b464c4e.tar.gz |
created urls folder and modified apps navigations acccording to groups
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py new file mode 100644 index 0000000..125d8ac --- /dev/null +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/file.py @@ -0,0 +1,20 @@ + +from django.conf.urls import patterns, url + +from django.views.generic import TemplateView + +from gnowsys_ndf.ndf.views import * + + + + +urlpatterns = patterns('gnowsys_ndf.ndf.views.file', + url(r'^(?P<file_id>[\w-]+)$', 'file', name='file'), + #url(r'^uploadDoc/$', TemplateView.as_view(template_name='ndf/UploadDoc.html')), #Direct ot html template + # url(r'^uploadDoc/(?P<pageurl>\w+)/$', 'uploadDoc', name='uploadDoc'), #Direct ot html template + 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-]+)$', 'readDoc', name='read_file'), +) |