From b7d54111ba1b698ed57eb7b3a69896c7f6146cb5 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 7 Apr 2021 21:53:43 +0100 Subject: Import Therion files too --- urls.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'urls.py') 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[^/]+)/(?P[^/]+)$', 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.+?\.xml)$', surveys.tunnelfilesingle, name="tunnelfile"), + url(r'^tunneldataraw/(?P.+?\.th)$', surveys.tunnelfilesingle, name="tunnelfile"), + url(r'^tunneldataraw/(?P.+?\.th2)$', surveys.tunnelfilesingle, name="tunnelfile"), # url(r'^tunneldatainfo/(?P.+?\.xml)$', surveys.tunnelfileinfo, name="tunnelfileinfo"), # parses tunnel for info url(r'^tunneldataraw/(?P.+?\.xml)/upload$', surveys.tunnelfileupload, name="tunnelfileupload"), -- cgit v1.2.3