From 8cc2fa3f7df67daa316621e645ea0988732c5730 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 30 Jul 2021 17:50:44 +0200 Subject: Preventive file: add default costs --- archaeological_files/urls.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'archaeological_files/urls.py') 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.+)/add-default-cost/$', + check_rights(["change_file", "change_own_file"])( + views.file_edit_preventive_add_default + ), + name="file-edit-preventive-default-cost", + ), ] -- cgit v1.2.3