diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-07-30 17:50:44 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-07-30 17:50:44 +0200 |
commit | 8cc2fa3f7df67daa316621e645ea0988732c5730 (patch) | |
tree | 957459e629548774b434d8e7fd9734aa83b15dc0 /archaeological_files/urls.py | |
parent | e180ed275c9b907a90ba98a0e60c2c746c264e48 (diff) | |
download | Ishtar-8cc2fa3f7df67daa316621e645ea0988732c5730.tar.bz2 Ishtar-8cc2fa3f7df67daa316621e645ea0988732c5730.zip |
Preventive file: add default costs
Diffstat (limited to 'archaeological_files/urls.py')
-rw-r--r-- | archaeological_files/urls.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/archaeological_files/urls.py b/archaeological_files/urls.py index 3fcf9a42c..1b1c4c771 100644 --- a/archaeological_files/urls.py +++ b/archaeological_files/urls.py @@ -143,5 +143,12 @@ urlpatterns = [ views.PreventiveEditView.as_view() ), name="file-edit-preventive", - ) + ), + url( + r'^file/edit-preventive/(?P<pk>.+)/add-default-cost/$', + check_rights(["change_file", "change_own_file"])( + views.file_edit_preventive_add_default + ), + name="file-edit-preventive-default-cost", + ), ] |