diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-03-09 13:26:04 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-03-09 13:28:05 +0100 |
commit | 75e29a2addd37be388321a9453fd12c346376529 (patch) | |
tree | 2f2bd88a0360e3674ce7bdbfc135f737166e1bf3 /archaeological_operations/urls.py | |
parent | 41aa41d8b8743e1450654f399e543c2b01311a78 (diff) | |
download | Ishtar-75e29a2addd37be388321a9453fd12c346376529.tar.bz2 Ishtar-75e29a2addd37be388321a9453fd12c346376529.zip |
Quick actions - tables - site: add bulk update form (towns field)
Diffstat (limited to 'archaeological_operations/urls.py')
-rw-r--r-- | archaeological_operations/urls.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/archaeological_operations/urls.py b/archaeological_operations/urls.py index a1e658c04..77791058a 100644 --- a/archaeological_operations/urls.py +++ b/archaeological_operations/urls.py @@ -202,4 +202,14 @@ urlpatterns = [ url(r'^site-qa-lock/(?P<pks>[0-9-]+)?/$', views.QASiteLockView.as_view(), name='site-qa-lock', kwargs={"model": models.ArchaeologicalSite}), + url(r'^site-qa-bulk-update/(?P<pks>[0-9-]+)?/$', + check_rights(['change_archaeologicalsite', + 'change_own_archaeologicalsite'])( + views.QAArchaeologicalSiteForm.as_view()), + name='site-qa-bulk-update'), + url(r'^site-qa-bulk-update/(?P<pks>[0-9-]+)?/confirm/$', + check_rights(['change_archaeologicalsite', + 'change_own_archaeologicalsite'])( + views.QAArchaeologicalSiteForm.as_view()), + name='site-qa-bulk-update-confirm', kwargs={"confirm": True}), ] |