summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf/urls/page.py
blob: 5ef5af53dd586b93813dc9a16501093c68eb8e3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from django.conf.urls import patterns, url

urlpatterns = patterns('gnowsys_ndf.ndf.views.page',
                       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'^/page_publish/(?P<node>[\w-]+)$','publish_page',name='publish_page'),
                       url(r'^/delete/(?P<node_id>[\w-]+)$', 'delete_page', name='page_delete'),
                      
)