diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-04-28 09:55:25 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-16 17:04:41 +0100 |
| commit | 6ef9750adef894a11001b959ba0f31def1f3fdd4 (patch) | |
| tree | f961357376645bd08cb3c390f31be4dc7552860c /archaeological_files/urls.py | |
| parent | 2b76e74d49cb0aab595ecd61ee0a7632e97753e0 (diff) | |
| download | Ishtar-6ef9750adef894a11001b959ba0f31def1f3fdd4.tar.bz2 Ishtar-6ef9750adef894a11001b959ba0f31def1f3fdd4.zip | |
WIP: preventive forms
Diffstat (limited to 'archaeological_files/urls.py')
| -rw-r--r-- | archaeological_files/urls.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_files/urls.py b/archaeological_files/urls.py index b245b0aea..3fcf9a42c 100644 --- a/archaeological_files/urls.py +++ b/archaeological_files/urls.py @@ -137,4 +137,11 @@ urlpatterns = [ check_rights(["add_operation"])(views.file_add_operation), name="file-add-operation", ), + url( + r'^file/edit-preventive/(?P<pk>.+)/$', + check_rights(["change_file", "change_own_file"])( + views.PreventiveEditView.as_view() + ), + name="file-edit-preventive", + ) ] |
