From 1b971637de6693d6721dfcdceaeecefb8f51860b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 27 Dec 2016 17:51:55 +0100 Subject: Simple management for shortcut menu of treatment and treatment file (refs #3384) --- 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 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.+)?$', 'get_treatment', name='get-treatment'), + url(r'get-treatment-shortcut/(?P.+)?$', + 'get_treatment', name='get-treatment-shortcut', + kwargs={'full': 'shortcut'}), url(r'^show-treatment(?:/(?P.+))?/(?P.+)?$', 'show_treatment', name=models.Treatment.SHOW_URL), url(r'get-treatmentfile/(?P.+)?$', 'get_treatmentfile', name='get-treatmentfile'), + url(r'get-treatmentfile-shortcut/(?P.+)?$', + 'get_treatmentfile', name='get-treatmentfile-shortcut', + kwargs={'full': 'shortcut'}), url(r'^show-treatmentfile(?:/(?P.+))?/(?P.+)?$', 'show_treatmentfile', name=models.TreatmentFile.SHOW_URL), -- cgit v1.2.3