diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-27 17:53:15 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-27 17:55:37 +0100 |
commit | 0bbb58bdf1cad93846bec23d2481e5ffffa818f8 (patch) | |
tree | 9ba5641662d7abeb2c690595f3255eb9df32ccc1 /archaeological_files/urls.py | |
parent | e027edce6edc7d8ba5a7dfc14069a95e531da2e1 (diff) | |
download | Ishtar-0bbb58bdf1cad93846bec23d2481e5ffffa818f8.tar.bz2 Ishtar-0bbb58bdf1cad93846bec23d2481e5ffffa818f8.zip |
Display current item window after creation and modification (refs #1574)
Diffstat (limited to 'archaeological_files/urls.py')
-rw-r--r-- | archaeological_files/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files/urls.py b/archaeological_files/urls.py index 2640aec1d..ee7a8ee39 100644 --- a/archaeological_files/urls.py +++ b/archaeological_files/urls.py @@ -53,7 +53,7 @@ urlpatterns += patterns('archaeological_files.views', name='get-file-full', kwargs={'full':True}), url(r'get-administrativeactfile/(?P<type>.+)?$', 'get_administrativeactfile', name='get-administrativeactfile'), - url(r'show-file/(?P<pk>.+)?/(?P<type>.+)?$', 'show_file', + url(r'show-file(?:/(?P<pk>.+))?/(?P<type>.+)?$', 'show_file', name='show-file'), url(r'show-historized-file/(?P<pk>.+)?/(?P<date>.+)?$', 'show_file', name='show-historized-file'), |