From 41fa659fa8c53aa30dae3d6bf6bb9965eaf08d94 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 12 Jun 2018 18:49:38 +0200 Subject: Document: deletion --- ishtar_common/urls.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/urls.py') 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.+)?$', + check_rights(['change_document', 'change_own_document'])( + views.document_deletion_wizard), + name='document_deletion'), ] urlpatterns += get_urls_for_model(models.Document, views) -- cgit v1.2.3