urls.py
1.08 KB
# -*- coding: utf-8 -*-
from django.conf.urls import patterns
from common.util import url
urlpatterns = patterns(
'management.views',
url(r'^widok-wydawcy/$', 'manager_view'),
url(r'^klasyfikacje/$', 'manage_classifications'),
url(r'^kwalifikatory/$', 'manage_qualifiers'),
url(r'^tabelki/$', 'table_view'),
url(r'^administracja/$', 'management_menu'),
url(r'^multilingual/$', 'multilingual_texts'),
url(r'flat-pages/$', 'flat_pages'),
url(r'flat-page/(.*)/', 'flat_page_edit'),
)
urlpatterns += patterns(
'management.ajax',
url(r'^ajax/add-vocabulary/$', 'add_vocabulary'),
url(r'^ajax/get-privileges/$', 'vocabulary_permissions'),
url(r'^ajax/set-privilege$', 'set_vocabulary_permission'),
)
urlpatterns += patterns(
'management.ajax_table_view',
url(r'^ajax/table-edit-form/$', 'table_edit_form'),
url(r'^ajax/new-table-form/$', 'new_template_row'),
url(r'^ajax/template-preview-form/$', 'template_preview_form'),
url(r'^ajax/load-template-preview/$', 'template_preview'),
url(r'^ajax/save-template/$', 'save_template'),
)