From 7c36fd5d2b0eefa26b4e01be16e9787937c7bc3f Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 23 Jul 2024 23:43:08 +0200 Subject: comment --- urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urls.py') 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.*)/(?P[^/]+)_entrance_new$', edit_entrance, name = "newentrance"), # new entrance for a cave re_path(r'^(.*)_edit$', editexpopage, name="editexpopage"), - re_path(r'^(?P162\d)(?P.*)$', cavepage, name="cavepage"), # shorthand /1623/264 or 1623/161/top.htm + re_path(r'^(?P162\d)(?P.*)$', 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 -- cgit v1.2.3