summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2023-05-08 01:10:43 +0100
committerMartin Green <martin.speleo@gmail.com>2023-05-08 01:10:43 +0100
commitf7fca58c57890294691f852375c2a1d142da35a0 (patch)
tree2b6ad9464fb2f227e630b41ea80adc962dab7282 /urls.py
parentea7c29a54ec3293cc49f1e11a5bf72ca2b44c6eb (diff)
downloadtroggle-f7fca58c57890294691f852375c2a1d142da35a0.tar.gz
troggle-f7fca58c57890294691f852375c2a1d142da35a0.tar.bz2
troggle-f7fca58c57890294691f852375c2a1d142da35a0.zip
Start of creating kmz file, with entrance photos and links to expo.survex.com
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 1fca988..c7fc81c 100644
--- a/urls.py
+++ b/urls.py
@@ -8,7 +8,7 @@ from troggle.core.views import statistics, survex
from troggle.core.views.auth import expologin, expologout
from troggle.core.views.caves import (cave3d, caveEntrance, caveindex,
cavepage, caveQMs, edit_cave, cave_debug,
- edit_entrance, get_entrances, qm, expo_kml)
+ edit_entrance, get_entrances, qm, expo_kml, expo_kmz)
from troggle.core.views.drawings import dwgallfiles, dwgfilesingle
from troggle.core.views.editor_helpers import image_selector, new_image_form
from troggle.core.views.expo import (editexpopage, expofiles_redirect,
@@ -232,6 +232,7 @@ trogglepatterns = [
re_path(r'^new_image_form/(?P<path>.*)', new_image_form, name = 'new_image_form'),
re_path(r'^expo.kml', expo_kml, name = 'expo.kml'),
+ re_path(r'^expo.kmz', expo_kmz, name = 'expo.kmz'),
# Final catchall which also serves expoweb handbook pages and imagestiny
re_path(r'^(.*)$', expopage, name="expopage"), # CATCHALL assumed relative to EXPOWEB