diff options
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 |
commit | 7a82793e0063029fbd7cf96748bcf19605fb97b6 (patch) | |
tree | f7a78b7b5c988c1c98e588a97eaf1e313ac0d23f /archaeological_context_records/urls.py | |
parent | 8df8f161ea57a3119d8cd76bf0d2f93df7728a42 (diff) | |
download | Ishtar-7a82793e0063029fbd7cf96748bcf19605fb97b6.tar.bz2 Ishtar-7a82793e0063029fbd7cf96748bcf19605fb97b6.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.py | 3 |
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>.+)$', |