summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-23 23:43:08 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-23 23:43:08 +0200
commit7c36fd5d2b0eefa26b4e01be16e9787937c7bc3f (patch)
treee70f6506c01bac23e88daab798cb1527ddc36b44 /urls.py
parentf590d0c12c763452e44ba5907860cbc32541b0c2 (diff)
downloadtroggle-7c36fd5d2b0eefa26b4e01be16e9787937c7bc3f.tar.gz
troggle-7c36fd5d2b0eefa26b4e01be16e9787937c7bc3f.tar.bz2
troggle-7c36fd5d2b0eefa26b4e01be16e9787937c7bc3f.zip
comment
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index e0e55f3..84c9fae 100644
--- a/urls.py
+++ b/urls.py
@@ -174,7 +174,7 @@ trogglepatterns = [
re_path(r'^(?P<path>.*)/(?P<caveslug>[^/]+)_entrance_new$', edit_entrance, name = "newentrance"), # new entrance for a cave
re_path(r'^(.*)_edit$', editexpopage, name="editexpopage"),
- re_path(r'^(?P<karea>162\d)(?P<subpath>.*)$', cavepage, name="cavepage"), # shorthand /1623/264 or 1623/161/top.htm
+ re_path(r'^(?P<karea>162\d)(?P<subpath>.*)$', cavepage, name="cavepage"), # shorthand /1623/264 or 1623/161/top.htm or 1623/161/i/stuff.jpg
# 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