diff options
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r-- | ishtar_common/urls.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py index 5a3ed217d..a64e6ab24 100644 --- a/ishtar_common/urls.py +++ b/ishtar_common/urls.py @@ -225,6 +225,34 @@ urlpatterns += [ name='show-shortcut-menu'), url(r'(?P<action_slug>' + actions + r')/$', views.action, name='action'), ] +""" + url(r'operation_source_search/(?P<step>.+)?$', + check_rights(['view_operation', 'view_own_operation'])( + views.operation_source_search_wizard), + name='operation_source_search'), + url(r'operation_source_creation/(?P<step>.+)?$', + check_rights(['change_operation', 'change_own_operation'])( + views.operation_source_creation_wizard), + name='operation_source_creation'), + url(r'operation_source_modification/(?P<step>.+)?$', + check_rights(['change_operation', 'change_own_operation'])( + views.operation_source_modification_wizard), + name='operation_source_modification'), + url(r'operation_source_modify/(?P<pk>.+)/$', + views.operation_source_modify, name='operation_source_modify'), + url(r'operation_source_deletion/(?P<step>.+)?$', + check_rights(['change_operation', 'change_own_operation'])( + views.operation_source_deletion_wizard), + name='operation_source_deletion'), + + url(r'show-operationsource(?:/(?P<pk>.+))?/(?P<type>.+)?$', + views.show_operationsource, name=models.OperationSource.SHOW_URL), + url(r'get-operationsource/(?P<type>.+)?$', + views.get_operationsource, name='get-operationsource'), + url(r'get-operationsource-full/(?P<type>.+)?$', + views.get_operationsource, name='get-operationsource-full', + kwargs={'full': True}), +""" if settings.DEBUG: urlpatterns += static(settings.STATIC_URL, |