diff options
author | Avadoot Nachankar <avadoot298@gmail.com> | 2014-05-15 17:52:53 +0530 |
---|---|---|
committer | Avadoot Nachankar <avadoot298@gmail.com> | 2014-05-15 17:52:53 +0530 |
commit | 6cad49a1e3d35338a215d46e75b8798e8d6de737 (patch) | |
tree | 5435348168135f8c423235dade9d25097dd50906 /gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py | |
parent | 5fe9e7b0a7cb7e9be3c13a025aba22d163e57227 (diff) | |
download | gnowsys-6cad49a1e3d35338a215d46e75b8798e8d6de737.tar.gz |
MIS-GAPP: Modification regarding url's mapping and display.
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py index 4813987..041f846 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py @@ -1,11 +1,12 @@ from django.conf.urls import patterns, url urlpatterns = patterns('gnowsys_ndf.ndf.views.mis', - url(r'^(?P<app_id>[\w-]+)$', 'mis_detail', name='mis_list'), # MIS app landing - url(r'^(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)$', 'mis_detail', name='mis_app_detail'), # mis_app_detail - url(r'^(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/(?P<app_set_instance_id>[\w-]+)$', 'mis_detail', name='mis_app_instance_detail'), # mis_app_instance_detail - url(r'^(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/edit/(?P<app_set_instance_id>[\w-]+)/$', 'mis_create_edit', name='mis_app_instance_edit'), # mis_app_instance_edit - url(r'^(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/new/$', 'mis_create_edit', name='mis_app_instance_create'), # mis_app_instance_create - + url(r'^$', 'mis_detail', name='mis_list'), + url(r'^/(?P<app_id>[\w-]+)$', 'mis_detail', name='mis_list'), # MIS app landing + url(r'^/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)$', 'mis_detail', name='mis_app_detail'), # mis_app_detail + url(r'^/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/(?P<app_set_instance_id>[\w-]+)$', 'mis_detail', name='mis_app_instance_detail'), # mis_app_instance_detail + url(r'^/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/edit/(?P<app_set_instance_id>[\w-]+)/$', 'mis_create_edit', name='mis_app_instance_edit'), # mis_app_instance_edit + url(r'^/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/new/$', 'mis_create_edit', name='mis_app_instance_create'), # mis_app_instance_create + ) |