diff options
author | dhiru <dhirusingh11@gmail.com> | 2014-05-10 18:07:53 +0530 |
---|---|---|
committer | dhiru <dhirusingh11@gmail.com> | 2014-05-10 18:07:53 +0530 |
commit | 2dfdcce2c241d7b186377913b0b1046d0f7daa3a (patch) | |
tree | 69db98c5e7edb1b6c89fc1cf65af02ddb6676ec1 /gnowsys-ndf/gnowsys_ndf/ndf/urls/page.py | |
parent | 6f5f14542e91720bce09092a143bd975926cda65 (diff) | |
download | gnowsys-2dfdcce2c241d7b186377913b0b1046d0f7daa3a.tar.gz |
generate new urls
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/page.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/page.py | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/page.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/page.py index 349c5cd..f8e52fb 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/page.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/page.py @@ -1,16 +1,18 @@ from django.conf.urls import patterns, url urlpatterns = patterns('gnowsys_ndf.ndf.views.page', - url(r'^(?P<app_id>[\w-]+)$', 'page', name='page'), - url(r'^create/', 'create_edit_page', name='page_create_edit'), - url(r'^details/(?P<app_id>[\w-]+)$', 'page', name='page_details'), - url(r'^edit/(?P<node_id>[\w-]+)$', 'create_edit_page', name='page_create_edit'), - url(r'^search$', 'page', name='page_search'), - url(r'^(?P<node_id>[\w-]+)/translate/$', 'translate_node', name='node_translation'), - url(r'^(?P<node_id>[\w-]+)/version/(?P<version_no>\d+\.\d+)$', 'version_node', name='node_version'), + url(r'^$', 'page', name='page'), + url(r'^/details/(?P<app_id>[\w-]+)$', 'page', name='page_details'), + url(r'^/(?P<app_id>[\w-]+)$', 'page', name='page_details'), + url(r'^/create/', 'create_edit_page', name='page_create_edit'), + + url(r'^/edit/(?P<node_id>[\w-]+)$', 'create_edit_page', name='page_create_edit'), + url(r'^/search$', 'page', name='page_search'), + url(r'^/(?P<node_id>[\w-]+)/translate/$', 'translate_node', name='node_translation'), + url(r'^/(?P<node_id>[\w-]+)/version/(?P<version_no>\d+\.\d+)$', 'version_node', name='node_version'), - url(r'^delete/(?P<node_id>[\w-]+)$', 'delete_page', name='page_delete'), - url(r'^page_publish/(?P<node>[\w-]+)$','publish_page',name='publish_page'), + url(r'^/delete/(?P<node_id>[\w-]+)$', 'delete_page', name='page_delete'), + url(r'^/page_publish/(?P<node>[\w-]+)$','publish_page',name='publish_page'), |