diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-10 20:49:13 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-10 20:49:13 +0200 |
commit | 8f18e7aa3ef8750faaf8c4cd136827555fdf66e4 (patch) | |
tree | 45f1d910b67a30e44015735581ec9cdc6db51cdf /archaeological_operations/urls.py | |
parent | 3d630a998043a9a6a9d61d42f3394b121f045431 (diff) | |
download | Ishtar-8f18e7aa3ef8750faaf8c4cd136827555fdf66e4.tar.bz2 Ishtar-8f18e7aa3ef8750faaf8c4cd136827555fdf66e4.zip |
QA: lock/unlock (sites, operations, context records, finds, containers, warehouses)
Diffstat (limited to 'archaeological_operations/urls.py')
-rw-r--r-- | archaeological_operations/urls.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/archaeological_operations/urls.py b/archaeological_operations/urls.py index 1cb66de6f..38dbe2cbf 100644 --- a/archaeological_operations/urls.py +++ b/archaeological_operations/urls.py @@ -176,4 +176,12 @@ urlpatterns = [ check_rights(['change_operation', 'change_own_operation'])( views.QAOperationForm.as_view()), name='operation-qa-bulk-update-confirm', kwargs={"confirm": True}), + + url(r'^operation-qa-lock/(?P<pks>[0-9-]+)?/$', + views.QAOperationLockView.as_view(), name='operation-qa-lock', + kwargs={"model": models.Operation}), + + url(r'^site-qa-lock/(?P<pks>[0-9-]+)?/$', + views.QASiteLockView.as_view(), name='site-qa-lock', + kwargs={"model": models.ArchaeologicalSite}), ] |