diff options
author | Avadoot Nachankar <avadoot298@gmail.com> | 2014-12-05 01:34:55 +0530 |
---|---|---|
committer | Avadoot Nachankar <avadoot298@gmail.com> | 2014-12-05 01:34:55 +0530 |
commit | f8637437a0a09db2f5eab1936be57f864ea02b10 (patch) | |
tree | aeeb9ebfdfeb4f50b3420f3493471bd6d60babed /gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py | |
parent | 494dfad810b2b99451ea750f959fa352551cba87 (diff) | |
download | gnowsys-f8637437a0a09db2f5eab1936be57f864ea02b10.tar.gz |
mis_enroll url modified - Trailing slash removed.
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 522b947..fc9b52d 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/mis.py @@ -2,11 +2,12 @@ from django.conf.urls import patterns, url urlpatterns = patterns('gnowsys_ndf.ndf.views.mis', 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-]+)/enroll/$', 'mis_enroll', name='mis_enroll'), # Student enrollment in Courses link - 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'^/(?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-]+)/enroll$', 'mis_enroll', name='mis_enroll'), # Person enrollment in Courses link + # url(r'^/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/enroll/$', 'mis_enroll', name='mis_enroll'), # Person enrollment in Courses link + 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 ) |