summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-07-05 15:38:23 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-07-05 15:38:23 +0300
commit779afc2f2ae84957517e3df22e69d95bf3852887 (patch)
tree1f2ff9e28aaa2baad103b701f41c967cb08029df /urls.py
parent33eb91346c3bdeeae900ea5a8442a50edbf53aa4 (diff)
downloadtroggle-779afc2f2ae84957517e3df22e69d95bf3852887.tar.gz
troggle-779afc2f2ae84957517e3df22e69d95bf3852887.tar.bz2
troggle-779afc2f2ae84957517e3df22e69d95bf3852887.zip
QM report pages now not crashing, working..
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 5f5a711..977fcba 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), # Broken- QMs have no proper link to cave id
- re_path(r'^cave/(?P<cave_id>[^/]+)/(?P<year>\d\d\d\d)-(?P<qm_id>\d*)(?P<grade>[ABCDX]?)?$', qm, name="qm"),
+ 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..
# Prospecting Guide document
re_path(r'^prospecting_guide/$', prospecting), # disabled. Bad links, incompatible image package use and very, very out of date.