summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-07-06 15:38:53 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-07-06 15:38:53 +0300
commit7dc3cc3b91e0c8dff87ccc09a73421ab64c2a919 (patch)
treed9e2526ba9af54687a18c3bf9b0858f9b63ba368 /urls.py
parentee4237b14cd831114f8a3a787fc908f62e72f4a4 (diff)
downloadtroggle-7dc3cc3b91e0c8dff87ccc09a73421ab64c2a919.tar.gz
troggle-7dc3cc3b91e0c8dff87ccc09a73421ab64c2a919.tar.bz2
troggle-7dc3cc3b91e0c8dff87ccc09a73421ab64c2a919.zip
fix for individual QM display from survex
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 462f696..e373a42 100644
--- a/urls.py
+++ b/urls.py
@@ -177,7 +177,8 @@ trogglepatterns = [
# QMs pages - must precede other /caves pages?
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<blockname>[^0-9]*)?(?P<qm_id>\d*)(?P<grade>[ABCDXV\?]?)?$', qm, name="qm"), # Fixed. July 2022
+ re_path(r'^cave/qms/(?P<cave_id>[^/]+)/(?P<year>\d\d\d\d)-(?P<blockname>[^0-9]*)?(?P<qm_id>\d*)(?P<grade>[ABCDXV\?]?)?$', qm, name="qm"), # Dogs breakfast
+ # the resolution of a QM uses several fields together, there is no clean slug field. Artefact of history.
# Prospecting Guide document
re_path(r'^prospecting_guide/$', prospecting), # disabled. Bad links, incompatible image package use and very, very out of date.