From a675244a70b1721aff0048ebb671480fb40a7f67 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 7 Dec 2016 20:01:09 +0100 Subject: Manage treatment files --- archaeological_finds/urls.py | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'archaeological_finds/urls.py') diff --git a/archaeological_finds/urls.py b/archaeological_finds/urls.py index e187e7258..a585ba6a1 100644 --- a/archaeological_finds/urls.py +++ b/archaeological_finds/urls.py @@ -101,6 +101,18 @@ urlpatterns = patterns( url(r'^treatment_deletion/(?P.+)?$', check_rights(['change_find', 'change_own_find'])( views.treatment_deletion_wizard), name='treatment_deletion'), + url(r'treatmentfle_search/(?P.+)?$', + check_rights(['change_find', 'change_own_find'])( + views.treatmentfile_search_wizard), + name='treatmentfile_search'), + url(r'treatmentfle_creation/(?P.+)?$', + check_rights(['change_find', 'change_own_find'])( + views.treatmentfile_creation_wizard), + name='treatmentfile_creation'), + url(r'treatmentfle_modification/(?P.+)?$', + check_rights(['change_find', 'change_own_find'])( + views.treatmentfile_modification_wizard), + name='treatmentfile_modification'), url(r'get-upstreamtreatment/(?P.+)?$', views.get_upstreamtreatment, name='get-upstreamtreatment'), url(r'get-downstreamtreatment/(?P.+)?$', @@ -156,6 +168,12 @@ urlpatterns += patterns( 'get_treatment', name='get-treatment'), url(r'show-treatment(?:/(?P.+))?/(?P.+)?$', 'show_treatment', name=models.Treatment.SHOW_URL), - # url(r'get-treatment/(?P.+)?$', 'get_treatment', - # name='get-treatment'), + url(r'get-treatmentfile/(?P.+)?$', + 'get_treatmentfile', name='get-treatmentfile'), + url(r'show-treatmentfile(?:/(?P.+))?/(?P.+)?$', + 'show_treatmentfile', + name=models.TreatmentFile.SHOW_URL), + # url(r'show-treatmentfile(?:/(?P.+))?/(?P.+)?$', + # 'show_treatmentfile', + # name=models.TreatmentFile.SHOW_URL), ) -- cgit v1.2.3