From 34c7816addf4d24480cb5ad833cf2b70ab7e45a8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Dec 2016 20:41:59 +0100 Subject: Manage file association for treatments --- archaeological_finds/urls.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'archaeological_finds/urls.py') diff --git a/archaeological_finds/urls.py b/archaeological_finds/urls.py index a585ba6a1..c780b14fb 100644 --- a/archaeological_finds/urls.py +++ b/archaeological_finds/urls.py @@ -113,6 +113,10 @@ urlpatterns = patterns( check_rights(['change_find', 'change_own_find'])( views.treatmentfile_modification_wizard), name='treatmentfile_modification'), + url(r'^treatmentfle_deletion/(?P.+)?$', + check_rights(['change_find', 'change_own_find'])( + views.treatmentfile_deletion_wizard), + name='treatmentfile_deletion'), url(r'get-upstreamtreatment/(?P.+)?$', views.get_upstreamtreatment, name='get-upstreamtreatment'), url(r'get-downstreamtreatment/(?P.+)?$', @@ -130,6 +134,8 @@ urlpatterns += patterns( name='autocomplete-preservationtype'), url(r'autocomplete-integritytype/$', 'autocomplete_integritytype', name='autocomplete-integritytype'), + url(r'autocomplete-treatmentfile/$', 'autocomplete_treatmentfile', + name='autocomplete-treatmentfile'), url(r'get-find/own/(?P.+)?$', 'get_find', name='get-own-find', kwargs={'force_own': True}), url(r'get-find/(?P.+)?$', 'get_find', -- cgit v1.2.3