summaryrefslogtreecommitdiff
path: root/archaeological_finds/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-27 17:51:55 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-27 17:52:31 +0100
commit87c4e61f72f050e7cbde4c5597ac5d5a4a0037bf (patch)
tree1b380ee46aefa8e284a9d6d96f3ed5f166c0f7a9 /archaeological_finds/urls.py
parent564dd1bec387788f5c837de8d9366c9510faa80f (diff)
downloadIshtar-87c4e61f72f050e7cbde4c5597ac5d5a4a0037bf.tar.bz2
Ishtar-87c4e61f72f050e7cbde4c5597ac5d5a4a0037bf.zip
Simple management for shortcut menu of treatment and treatment file (refs #3384)
Diffstat (limited to 'archaeological_finds/urls.py')
-rw-r--r--archaeological_finds/urls.py6
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),