summaryrefslogtreecommitdiff
path: root/archaeological_finds/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/urls.py')
-rw-r--r--archaeological_finds/urls.py22
1 files changed, 20 insertions, 2 deletions
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<step>.+)?$',
check_rights(['change_find', 'change_own_find'])(
views.treatment_deletion_wizard), name='treatment_deletion'),
+ url(r'treatmentfle_search/(?P<step>.+)?$',
+ check_rights(['change_find', 'change_own_find'])(
+ views.treatmentfile_search_wizard),
+ name='treatmentfile_search'),
+ url(r'treatmentfle_creation/(?P<step>.+)?$',
+ check_rights(['change_find', 'change_own_find'])(
+ views.treatmentfile_creation_wizard),
+ name='treatmentfile_creation'),
+ url(r'treatmentfle_modification/(?P<step>.+)?$',
+ check_rights(['change_find', 'change_own_find'])(
+ views.treatmentfile_modification_wizard),
+ name='treatmentfile_modification'),
url(r'get-upstreamtreatment/(?P<type>.+)?$', views.get_upstreamtreatment,
name='get-upstreamtreatment'),
url(r'get-downstreamtreatment/(?P<type>.+)?$',
@@ -156,6 +168,12 @@ urlpatterns += patterns(
'get_treatment', name='get-treatment'),
url(r'show-treatment(?:/(?P<pk>.+))?/(?P<type>.+)?$', 'show_treatment',
name=models.Treatment.SHOW_URL),
- # url(r'get-treatment/(?P<type>.+)?$', 'get_treatment',
- # name='get-treatment'),
+ url(r'get-treatmentfile/(?P<type>.+)?$',
+ 'get_treatmentfile', name='get-treatmentfile'),
+ url(r'show-treatmentfile(?:/(?P<pk>.+))?/(?P<type>.+)?$',
+ 'show_treatmentfile',
+ name=models.TreatmentFile.SHOW_URL),
+ # url(r'show-treatmentfile(?:/(?P<pk>.+))?/(?P<type>.+)?$',
+ # 'show_treatmentfile',
+ # name=models.TreatmentFile.SHOW_URL),
)