summaryrefslogtreecommitdiff
path: root/ishtar_common/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-03-06 11:41:54 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-03-06 11:44:44 +0100
commit73680a9956ce9b5a81b12296a19c4c782cbb1573 (patch)
tree87dc15b6b07b78eb8aed52a707c9adab5ae89a9f /ishtar_common/urls.py
parentfa494aa77940791e2a69589ed29ecc6fc680d680 (diff)
downloadIshtar-73680a9956ce9b5a81b12296a19c4c782cbb1573.tar.bz2
Ishtar-73680a9956ce9b5a81b12296a19c4c782cbb1573.zip
Sheet actions: add duplicate for site, operation, document and context record
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r--ishtar_common/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py
index 8c08ade06..cc8d3eed4 100644
--- a/ishtar_common/urls.py
+++ b/ishtar_common/urls.py
@@ -319,6 +319,10 @@ urlpatterns += [
check_rights(['change_document', 'change_own_document'])(
views.QADocumentForm.as_view()),
name='document-qa-bulk-update-confirm', kwargs={"confirm": True}),
+ url(r'^document-qa-duplicate/(?P<pks>[0-9-]+)?/$',
+ check_rights(['change_document', 'change_own_document'])(
+ views.QADocumentDuplicateFormView.as_view()),
+ name='document-qa-duplicate'),
url(r'^qa-not-available(?:/(?P<context>[0-9a-z-]+))?/$',
views.QANotAvailable.as_view(), name='qa-not-available'),