diff options
author | sunnychaudhari <yuvaraj.chaudhari1@gmail.com> | 2014-10-17 23:55:55 +0530 |
---|---|---|
committer | sunnychaudhari <yuvaraj.chaudhari1@gmail.com> | 2014-10-17 23:55:55 +0530 |
commit | 8d6ad0f8f94ebb6a93a9196d2ca14770b2bba111 (patch) | |
tree | 01300ac9c285a71ab9af4265f928e0c7166010ec /gnowsys-ndf/gnowsys_ndf/ndf/urls/term.py | |
parent | e191e9cfcca9077494496bbb406b3f9793d8b839 (diff) | |
download | gnowsys-8d6ad0f8f94ebb6a93a9196d2ca14770b2bba111.tar.gz |
urls added for create, edit & delete term instances
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/term.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/term.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/term.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/term.py index 05c9806..a004f36 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/term.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/term.py @@ -1,5 +1,9 @@ from django.conf.urls import patterns, url urlpatterns = patterns('gnowsys_ndf.ndf.views.term', - url(r'^$', 'term', name='term') + url(r'^$', 'term', name='term'), + url(r'^/(?P<node_id>[\w-]+)$', 'term', name='term_details'), + url(r'^/create/', 'create_edit_term', name='term_create_edit'), + url(r'^/edit/(?P<node_id>[\w-]+)$', 'create_edit_term', name='term_create_edit'), + url(r'^/delete/(?P<node_id>[\w-]+)$', 'delete_term', name='term_delete') )
\ No newline at end of file |