summaryrefslogtreecommitdiff
path: root/ishtar_common/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 18:49:38 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 18:49:38 +0200
commit41fa659fa8c53aa30dae3d6bf6bb9965eaf08d94 (patch)
treee7e19b115e0bd59f46521615584bb6b0180ace91 /ishtar_common/urls.py
parentc8f19ffca144e3e940bd0b878bf82f70192780e8 (diff)
downloadIshtar-41fa659fa8c53aa30dae3d6bf6bb9965eaf08d94.tar.bz2
Ishtar-41fa659fa8c53aa30dae3d6bf6bb9965eaf08d94.zip
Document: deletion
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 0c249d131..f9f342ce3 100644
--- a/ishtar_common/urls.py
+++ b/ishtar_common/urls.py
@@ -240,6 +240,10 @@ urlpatterns += [
check_rights(['change_document', 'change_own_document'])(
views.DocumentEditView.as_view()),
name='edit-document'),
+ url(r'document/delete/(?P<step>.+)?$',
+ check_rights(['change_document', 'change_own_document'])(
+ views.document_deletion_wizard),
+ name='document_deletion'),
]
urlpatterns += get_urls_for_model(models.Document, views)