summaryrefslogtreecommitdiff
path: root/archaeological_context_records/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-05 18:19:06 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-05 18:19:06 +0100
commit9f8f172e7e18c9d8fffc5d973f269a50a975d34e (patch)
treef7a78b7b5c988c1c98e588a97eaf1e313ac0d23f /archaeological_context_records/urls.py
parent6830c1ba33771fdecca15aeffded5b92aa88775c (diff)
downloadIshtar-9f8f172e7e18c9d8fffc5d973f269a50a975d34e.tar.bz2
Ishtar-9f8f172e7e18c9d8fffc5d973f269a50a975d34e.zip
Better management of context record relations tables (refs #3347)
Diffstat (limited to 'archaeological_context_records/urls.py')
-rw-r--r--archaeological_context_records/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_context_records/urls.py b/archaeological_context_records/urls.py
index 24e8e06eb..8cfb1b391 100644
--- a/archaeological_context_records/urls.py
+++ b/archaeological_context_records/urls.py
@@ -69,6 +69,9 @@ urlpatterns += patterns(
name='autocomplete-contextrecord'),
url(r'show-contextrecord(?:/(?P<pk>.+))?/(?P<type>.+)?$',
'show_contextrecord', name=models.ContextRecord.SHOW_URL),
+ # show-contextrecordrelation is only a view the id point to a context record
+ url(r'show-contextrecord(?:/(?P<pk>.+))?/(?P<type>.+)?$',
+ 'show_contextrecord', name='show-contextrecordrelation'),
url(r'show-historized-contextrecord/(?P<pk>.+)?/(?P<date>.+)?$',
'show_contextrecord', name='show-historized-contextrecord'),
url(r'revert-contextrecord/(?P<pk>.+)/(?P<date>.+)$',