summaryrefslogtreecommitdiff
path: root/archaeological_operations/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/urls.py')
-rw-r--r--archaeological_operations/urls.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_operations/urls.py b/archaeological_operations/urls.py
index a6c4bd7b3..68ac0bad0 100644
--- a/archaeological_operations/urls.py
+++ b/archaeological_operations/urls.py
@@ -89,10 +89,16 @@ urlpatterns += patterns(
'archaeological_operations.views',
url(r'autocomplete-operation/$', 'autocomplete_operation',
name='autocomplete-operation'),
+ url(r'get-operation/own/(?P<type>.+)?$',
+ 'get_operation', name='get-own-operation',
+ kwargs={'force_own': True}),
url(r'get-operation/(?P<type>.+)?$', 'get_operation',
name='get-operation'),
url(r'get-operation-full/(?P<type>.+)?$', 'get_operation',
name='get-operation-full', kwargs={'full': True}),
+ url(r'get-operation-full/own/(?P<type>.+)?$',
+ 'get_operation', name='get-own-operation-full',
+ kwargs={'full': True, 'force_own': True}),
url(r'get-available-operation-code/(?P<year>.+)?$',
'get_available_operation_code', name='get_available_operation_code'),
url(r'revert-operation/(?P<pk>.+)/(?P<date>.+)$',