summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-27 15:38:20 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-27 15:38:20 +0100
commit942cbdd4b275cca45c41530977481db91fea2f51 (patch)
treeaaf9622f0b455eaaac321757c404bcd585e10d34 /urls.py
parent13f3057185bc76056a55beedf3a200a8f231e563 (diff)
downloadtroggle-942cbdd4b275cca45c41530977481db91fea2f51.tar.gz
troggle-942cbdd4b275cca45c41530977481db91fea2f51.tar.bz2
troggle-942cbdd4b275cca45c41530977481db91fea2f51.zip
clean out broken QM bits
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/urls.py b/urls.py
index 75b4245..af40f06 100644
--- a/urls.py
+++ b/urls.py
@@ -11,7 +11,7 @@ from django.urls import reverse, resolve
from troggle.core.views import caves, statistics, survex
from troggle.core.views.surveys import scansingle, singlewallet, allwallets, dwgdata, dwgfilesingle, dwgfileupload
from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage, scanupload
-from troggle.core.views.other import downloadlogbook, ajax_QM_number, downloadQMs
+from troggle.core.views.other import downloadlogbook
from troggle.core.views.caves import ent, cavepage
from troggle.core.views.logbooks import get_logbook_entries, logbookentry, logbookSearch
from troggle.core.views.logbooks import personindex, person, get_people
@@ -155,11 +155,8 @@ trogglepatterns = [
# QMs pages - must precede other /caves pages
- re_path(r'^cave/qms/([^/]+)/?$', caves.caveQMs), # blank page usually
+ re_path(r'^cave/qms/([^/]+)/?$', caves.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]?)?$', caves.qm, name="qm"),
- re_path(r'^cave/(?P<cave_id>[^/]+)/qm\.csv/?$', downloadQMs, name="downloadqms"),
- re_path(r'^newqmnumber/?$', ajax_QM_number, ), # blank page if no ch given
-# re_path(r'^downloadqms$', other.downloadQMs), # MultiValueDictKeyError
# Prospecting Guide document
re_path(r'^prospecting_guide/$', prospecting),