From 9f8f172e7e18c9d8fffc5d973f269a50a975d34e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 5 Jan 2017 18:19:06 +0100 Subject: Better management of context record relations tables (refs #3347) --- archaeological_context_records/urls.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archaeological_context_records/urls.py') 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.+))?/(?P.+)?$', '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.+))?/(?P.+)?$', + 'show_contextrecord', name='show-contextrecordrelation'), url(r'show-historized-contextrecord/(?P.+)?/(?P.+)?$', 'show_contextrecord', name='show-historized-contextrecord'), url(r'revert-contextrecord/(?P.+)/(?P.+)$', -- cgit v1.2.3