summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-07-05 17:02:43 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-07-05 17:02:43 +0300
commit9d4a97fc19faa1b56a6fca07dfcf546a6c27c0d1 (patch)
treea1282d03ab8fb323427a57d69bfcffcc96fc1b60 /urls.py
parentc9a33a401004240e9cac7d58bb12e5a846acede1 (diff)
downloadtroggle-9d4a97fc19faa1b56a6fca07dfcf546a6c27c0d1.tar.gz
troggle-9d4a97fc19faa1b56a6fca07dfcf546a6c27c0d1.tar.bz2
troggle-9d4a97fc19faa1b56a6fca07dfcf546a6c27c0d1.zip
Tidy HTML output
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index 977fcba..d4dbf9d 100644
--- a/urls.py
+++ b/urls.py
@@ -176,8 +176,8 @@ trogglepatterns = [
path('dwgdataraw/<path:path>', dwgfilesingle, name="dwgfilesingle"),
# QMs pages - must precede other /caves pages?
- re_path(r'^cave/qms/([^/]+)/?$', caveQMs), # Being fixed, currently returns all QMs for all caves
- re_path(r'^cave/qms/(?P<cave_id>[^/]+)/(?P<year>\d\d\d\d)-(?P<qm_id>\d*)(?P<grade>[ABCDXV]?)?$', qm, name="qm"), # broken..
+ re_path(r'^cave/qms/([^/]+)/?$', caveQMs, name="caveQMs"), # Fixed. July 2022
+ re_path(r'^cave/qms/(?P<cave_id>[^/]+)/(?P<year>\d\d\d\d)-(?P<qm_id>\d*)(?P<grade>[ABCDXV\?]?)?$', qm, name="qm"), # Fixed. July 2022
# Prospecting Guide document
re_path(r'^prospecting_guide/$', prospecting), # disabled. Bad links, incompatible image package use and very, very out of date.