diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:59:40 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:59:40 +0100 |
commit | a4edfca30e254aa5135a059870ebd60219874087 (patch) | |
tree | 702260858e4fb84e946602b996d80ebd213735ef /urls.py | |
parent | 90da85e8563298a23e860db08db952f9a6b46f2d (diff) | |
download | troggle-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.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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),
|