diff options
author | Cefin <kevon@tuta.io> | 2021-11-29 12:07:47 +0000 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | fda77743c85ccfeeec7c53bf16af4c432326605a (patch) | |
tree | d4a1e401fc9c56d3106c36aaa42254605978bc75 /ishtar_common/urls.py | |
parent | 08f5125e9be5fe5c8773552a447da67ccf801208 (diff) | |
download | Ishtar-fda77743c85ccfeeec7c53bf16af4c432326605a.tar.bz2 Ishtar-fda77743c85ccfeeec7c53bf16af4c432326605a.zip |
rapid action add document with parent source #5172
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r-- | ishtar_common/urls.py | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -486,6 +486,13 @@ urlpatterns += [ name="create-document", ), url( + r"document/create/(?P<pk>[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"])( views.DocumentSelectView.as_view() |