diff options
Diffstat (limited to 'archaeological_finds/urls.py')
-rw-r--r-- | archaeological_finds/urls.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_finds/urls.py b/archaeological_finds/urls.py index f1ddb1223..7be07d015 100644 --- a/archaeological_finds/urls.py +++ b/archaeological_finds/urls.py @@ -275,10 +275,16 @@ urlpatterns += patterns( 'revert_find', name='revert-find'), url(r'^get-treatment/(?P<type>.+)?$', 'get_treatment', name='get-treatment'), + url(r'get-treatment-shortcut/(?P<type>.+)?$', + 'get_treatment', name='get-treatment-shortcut', + kwargs={'full': 'shortcut'}), url(r'^show-treatment(?:/(?P<pk>.+))?/(?P<type>.+)?$', 'show_treatment', name=models.Treatment.SHOW_URL), url(r'get-treatmentfile/(?P<type>.+)?$', 'get_treatmentfile', name='get-treatmentfile'), + url(r'get-treatmentfile-shortcut/(?P<type>.+)?$', + 'get_treatmentfile', name='get-treatmentfile-shortcut', + kwargs={'full': 'shortcut'}), url(r'^show-treatmentfile(?:/(?P<pk>.+))?/(?P<type>.+)?$', 'show_treatmentfile', name=models.TreatmentFile.SHOW_URL), |