summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-07 21:53:43 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-07 21:53:43 +0100
commitb7d54111ba1b698ed57eb7b3a69896c7f6146cb5 (patch)
treed600752c7f67c0e1bd6cd6f6f8a4c5872e52d597 /urls.py
parentbf7491348683ba592804ffe74ff75e0eadbcefcc (diff)
downloadtroggle-b7d54111ba1b698ed57eb7b3a69896c7f6146cb5.tar.gz
troggle-b7d54111ba1b698ed57eb7b3a69896c7f6146cb5.tar.bz2
troggle-b7d54111ba1b698ed57eb7b3a69896c7f6146cb5.zip
Import Therion files too
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 90b6420..5acb243 100644
--- a/urls.py
+++ b/urls.py
@@ -142,9 +142,11 @@ trogglepatterns = [
url(r'^survey_scans/(?P<path>[^/]+)/(?P<file>[^/]+)$',
surveys.surveyscansingle, name="surveyscansingle"),
- # The tunnel drawings files pages
+ # The tunnel and therion drawings files pages
url(r'^tunneldata/$', surveys.tunneldata, name="tunneldata"),
url(r'^tunneldataraw/(?P<path>.+?\.xml)$', surveys.tunnelfilesingle, name="tunnelfile"),
+ url(r'^tunneldataraw/(?P<path>.+?\.th)$', surveys.tunnelfilesingle, name="tunnelfile"),
+ url(r'^tunneldataraw/(?P<path>.+?\.th2)$', surveys.tunnelfilesingle, name="tunnelfile"),
# url(r'^tunneldatainfo/(?P<path>.+?\.xml)$', surveys.tunnelfileinfo, name="tunnelfileinfo"), # parses tunnel for info
url(r'^tunneldataraw/(?P<path>.+?\.xml)/upload$', surveys.tunnelfileupload, name="tunnelfileupload"),