From fda77743c85ccfeeec7c53bf16af4c432326605a Mon Sep 17 00:00:00 2001 From: Cefin Date: Mon, 29 Nov 2021 12:07:47 +0000 Subject: rapid action add document with parent source #5172 --- ishtar_common/urls.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ishtar_common/urls.py') diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py index 7bbdc189f..de881e1ba 100644 --- a/ishtar_common/urls.py +++ b/ishtar_common/urls.py @@ -485,6 +485,13 @@ urlpatterns += [ ), name="create-document", ), + url( + r"document/create/(?P[0-9-]+)?/$", + check_rights(["add_document", "add_own_document"])( + views.DocumentCreateView.as_view() + ), + name="create-document-source", + ), url( r"document/edit/$", check_rights(["change_document", "change_own_document"])( -- cgit v1.2.3