summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:59:40 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:59:40 +0100
commita4edfca30e254aa5135a059870ebd60219874087 (patch)
tree702260858e4fb84e946602b996d80ebd213735ef /urls.py
parent90da85e8563298a23e860db08db952f9a6b46f2d (diff)
downloadtroggle-a4edfca30e254aa5135a059870ebd60219874087.tar.gz
troggle-a4edfca30e254aa5135a059870ebd60219874087.tar.bz2
troggle-a4edfca30e254aa5135a059870ebd60219874087.zip
[svn] Got QM pages working.
Started scripts for exporting to old expo format. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8269 by aaron @ 3/12/2009 2:22 PM
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index cb95636..4ab0f0a 100644
--- a/urls.py
+++ b/urls.py
@@ -27,7 +27,7 @@ urlpatterns = patterns('',
url(r'^survexblock/(.+)$', views_caves.survexblock, name="survexblock"),
url(r'^cavehref/(.+)$', views_caves.cavehref, name="cave"),
-
+
url(r'^jgtfile/(.*)$', view_surveys.jgtfile, name="jgtfile"),
url(r'^jgtuploadfile$', view_surveys.jgtuploadfile, name="jgtuploadfile"),
@@ -41,7 +41,8 @@ urlpatterns = patterns('',
url(r'^cavearea', caveArea, name="caveArea"),
url(r'^survex/(.*?)\.index$', views_survex.index, name="survexindex"),
- url(r'^cave/(?P<cave_id>[^/]+)/?$', views_caves.cavehref), # deprecated
+ url(r'^cave/(?P<cave_id>[^/]+)/?$', views_caves.cavehref),
+ url(r'^cave/(?P<cave_id>[^/]+)/(?P<year>\d\d\d\d)-(?P<qm_id>\d\d)?$', views_caves.qm),
(r'^survex/(?P<survex_file>.*)\.svx$', svx),
(r'^survex/(?P<survex_file>.*)\.3d$', threed),
(r'^survex/(?P<survex_file>.*)\.log$', log),