summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-03-18 14:18:16 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2022-03-18 14:18:16 +0000
commit6f32364675fa413db942486d8efccd4d0990e274 (patch)
tree8b1c451118b54dc109615161225fa44133004204 /urls.py
parent3b997a32bfd2cbdb76c4c497334b4e063a69f8a4 (diff)
downloadtroggle-6f32364675fa413db942486d8efccd4d0990e274.tar.gz
troggle-6f32364675fa413db942486d8efccd4d0990e274.tar.bz2
troggle-6f32364675fa413db942486d8efccd4d0990e274.zip
fixed get_absolute_url error
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 e3e5fa4..8527700 100644
--- a/urls.py
+++ b/urls.py
@@ -130,7 +130,7 @@ trogglepatterns = [
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), #!!!BAD, local links fail..# 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 break! Stop this..
+ re_path(r'^(?P<karea>\d\d\d\d)(?P<subpath>.*)$', cavepage, name="cavepage"), # shorthand /1623/264
# 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