diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-14 21:44:48 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-14 21:44:48 +0100 |
commit | 08811d24b0a1869322db82b65c4fbd8a35bc7327 (patch) | |
tree | e359f8b361a947954622d6d6069995ef30bd5104 /archaeological_operations/urls.py | |
parent | 5b5497b31e5796b1fecfc0641e337ffb8d7792a1 (diff) | |
download | Ishtar-08811d24b0a1869322db82b65c4fbd8a35bc7327.tar.bz2 Ishtar-08811d24b0a1869322db82b65c4fbd8a35bc7327.zip |
Force filtering on "own" items on selection for modification
Diffstat (limited to 'archaeological_operations/urls.py')
-rw-r--r-- | archaeological_operations/urls.py | 6 |
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>.+)$', |