summaryrefslogtreecommitdiff
path: root/ishtar_common/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r--ishtar_common/urls.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py
index aa1f1948e..d2c954e58 100644
--- a/ishtar_common/urls.py
+++ b/ishtar_common/urls.py
@@ -686,6 +686,13 @@ urlpatterns += [
)(views.QADocumentDuplicateFormView.as_view()),
name="document-qa-duplicate",
),
+ path(
+ "document-qa-unlink/<int:pks>/<slug:related_model>-<int:related_id>/",
+ check_permissions(
+ ["ishtar_common.change_document", "ishtar_common.change_own_document"]
+ )(views.QADocumentUnlink.as_view()),
+ name="document-qa-unlink",
+ ),
url(
r"^document-qa-packaging/(?P<pks>[0-9-]+)?/$",
check_permissions(