summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2022-06-28 00:24:57 +0100
committerMartin Green <martin.speleo@gmail.com>2022-06-28 00:24:57 +0100
commitdbe6d10fff393661002fb576dacb8223af8a5899 (patch)
tree0b032bbe2a6949a22a24ecdc896e0c286086958d /urls.py
parent2af88353f3ea487a1e129783db49ad71d3bc3410 (diff)
downloadtroggle-dbe6d10fff393661002fb576dacb8223af8a5899.tar.gz
troggle-dbe6d10fff393661002fb576dacb8223af8a5899.tar.bz2
troggle-dbe6d10fff393661002fb576dacb8223af8a5899.zip
Revert "Added some test pages showing different ways pages could be edited. This probably wants removing soon"
This reverts commit 2af88353f3ea487a1e129783db49ad71d3bc3410.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/urls.py b/urls.py
index 2b5b0b6..5f5a711 100644
--- a/urls.py
+++ b/urls.py
@@ -13,7 +13,7 @@ from troggle.core.views.drawings import dwgallfiles, dwgfilesingle
from troggle.core.views.uploads import dwgupload, scanupload, photoupload
from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage
from troggle.core.views.other import exportlogbook
-from troggle.core.views.caves import ent, cavepage, caveindex, get_entrances, get_qms, edit_cave, cave3d, caveEntrance, edit_entrance, caveQMs, qm, test_edit_cave
+from troggle.core.views.caves import ent, cavepage, caveindex, get_entrances, get_qms, edit_cave, cave3d, caveEntrance, edit_entrance, caveQMs, qm
from troggle.core.views.logbooks import get_logbook_entries, logbookentry, logbookSearch
from troggle.core.views.logbooks import notablepersons, person, get_people
from troggle.core.views.logbooks import expedition, personexpedition, Expeditions_tsvListView, Expeditions_jsonListView
@@ -76,8 +76,6 @@ else:
# Some overlap with 'admin.site.urls' needs to be investigated.
trogglepatterns = [
- path('tinymce/', include('tinymce.urls')),
-
path('expofiles/', include(expofilesurls)), # intercepted by Apache, if it is running.
path('expofiles', include(expofilesurls)), # curious interaction with the include() here, not just a slash problem.
@@ -137,7 +135,6 @@ trogglepatterns = [
re_path(r'^(?P<karea>\d\d\d\d)(?P<subpath>.*)$', cavepage, name="cavepage"), # shorthand /1623/264 or 1623/161/top.htm
# Note that urls eg '/1623/161/l/rl89a.htm' are handled by cavepage which redirects them to 'expopage'
# Note that _edit$ for a cave description page in a subfolder e.g. /1623/204/204.html_edit gets caught here and breaks with 404
- re_path(r'^test_cave_edit/(?P<editor>.*)$', test_edit_cave, name="test_edit_cave"), # edit_cave needed by cave.html template for url matching
# Entrances
re_path(r'^cave/entrance/([^/]+)/?$', caveEntrance), # lists all entrances !!!BAD, local links fail