diff options
author | krishna <kpkrishnapal@gmail.com> | 2014-04-22 16:23:20 +0530 |
---|---|---|
committer | krishna <kpkrishnapal@gmail.com> | 2014-04-22 16:23:20 +0530 |
commit | 8c2fb735d7ec44f2b20db1c68879bc9e0de91324 (patch) | |
tree | 9510cbff7324683c23fe9365b520f82cc2c56155 /gnowsys-ndf/gnowsys_ndf/ndf/urls/module.py | |
parent | d2d4aa2bc5125ba1fcf974044d22b00d597ad055 (diff) | |
download | gnowsys-8c2fb735d7ec44f2b20db1c68879bc9e0de91324.tar.gz |
1)Version implemented for module
2)module list view change to card layout
3)course list view change to card layout
4)delete implemented for module
5)module_detail.html page added
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/module.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/module.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/module.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/module.py index 8196cbf..43d5d47 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/module.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/module.py @@ -1,6 +1,7 @@ from django.conf.urls import patterns, url urlpatterns = patterns('gnowsys_ndf.ndf.views.module', - url(r'^(?P<module_id>[\w-]+)$', 'module', name='module'), - + url(r'^(?P<module_id>[\w-]+)$', 'module', name='module'), + url(r'^delete_module/(?P<_id>[\w-]+)$', 'delete_module', name='delete_module'), + url(r'^module_detail/(?P<_id>[\w-]+)$', 'module_detail', name='module_detail'), ) |