summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-12-30 00:56:09 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2021-12-30 00:56:09 +0000
commit5aac2806186639852765828c7fa9ba55d5933bc5 (patch)
treeb11c74ffff87b2e00a2c554c194ff452941b7d7f /urls.py
parent928c451040b17c5bd05c3ee185895678951f8653 (diff)
downloadtroggle-5aac2806186639852765828c7fa9ba55d5933bc5.tar.gz
troggle-5aac2806186639852765828c7fa9ba55d5933bc5.tar.bz2
troggle-5aac2806186639852765828c7fa9ba55d5933bc5.zip
Bug fix and extra comment
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/urls.py b/urls.py
index 3c8cc19..49c7105 100644
--- a/urls.py
+++ b/urls.py
@@ -72,7 +72,7 @@ else:
# accounts/reset/done/ [name='password_reset_complete']
trogglepatterns = [
- path('expofiles/', include(expofilesurls)),
+ 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.
re_path(r'^caves$', caves.caveindex, name="caveindex"),
@@ -121,10 +121,10 @@ trogglepatterns = [
re_path(r'^cave/3d/(?P<cave_id>[^/]+)$', caves.cave3d, name="cave3d"),
re_path(r'^cave/description/([^/]+)/?$', caves.caveDescription),
- re_path(r'^cave/(?P<cave_id>[^/]+)/?$', caves.cave, name="cave"), #!!!BAD, local links fail
+ re_path(r'^cave/(?P<cave_id>[^/]+)/?$', caves.cave, name="cave"), #!!!BAD, local links fail.. to be checked..
re_path(r'^cave/(?P<cave_id>[^/]+)/?(?P<ent_letter>[^/])$', ent), # view_caves.ent
re_path(r'^cave/(?P<slug>[^/]+)/edit/$', caves.edit_cave, name="edit_cave"),
- re_path(r'^(?P<karea>\d\d\d\d)(?P<subpath>.*)$', cavepage, name="cavepage"), # shorthand /1623/264 BUT url links may break
+ re_path(r'^(?P<karea>\d\d\d\d)(?P<subpath>.*)$', cavepage, name="cavepage"), # shorthand /1623/264 BUT url links break! Stop this..
# Note that urls eg '1623/161/l/rl89a.htm' are handled by cavepage which redirects them to 'expopage'
# Entrances
@@ -213,6 +213,6 @@ urlpatterns = [
# Alias /favicon.ico /home/expo/static/favicon.ico # to be changed
# Alias /static/ /home/expo/static/
-# ScriptAlias /repositories /home/expo/config/apache/services/hgweb/hgweb.cgi
+# ScriptAlias /repositories /home/expo/config/apache/services/hgweb/hgweb.cgi # UPDATE thios for git
# ScriptAlias /boe /home/expo/boe/boc/boc.pl
# ScriptAlias /boe-lastyear /home/expo/boe/boc-previous/boc.pl