forked from expo/troggle
Start of creating kmz file, with entrance photos and links to expo.survex.com
This commit is contained in:
3
urls.py
3
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
|
||||
|
||||
Reference in New Issue
Block a user