diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-07 21:53:43 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-07 21:53:43 +0100 |
commit | b7d54111ba1b698ed57eb7b3a69896c7f6146cb5 (patch) | |
tree | d600752c7f67c0e1bd6cd6f6f8a4c5872e52d597 /urls.py | |
parent | bf7491348683ba592804ffe74ff75e0eadbcefcc (diff) | |
download | troggle-b7d54111ba1b698ed57eb7b3a69896c7f6146cb5.tar.gz troggle-b7d54111ba1b698ed57eb7b3a69896c7f6146cb5.tar.bz2 troggle-b7d54111ba1b698ed57eb7b3a69896c7f6146cb5.zip |
Import Therion files too
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"), |