summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-02-26 23:20:59 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2022-02-26 23:20:59 +0000
commit6d435ee473335f122799ac08347b7fe2433da80f (patch)
tree750bdf6ac82210416908aa332073e51a94e7c3ee /core
parent7f542b8936c6690f82b807fb81b3f87213ea96bf (diff)
downloadtroggle-6d435ee473335f122799ac08347b7fe2433da80f.tar.gz
troggle-6d435ee473335f122799ac08347b7fe2433da80f.tar.bz2
troggle-6d435ee473335f122799ac08347b7fe2433da80f.zip
more comments
Diffstat (limited to 'core')
-rw-r--r--core/views/caves.py3
-rw-r--r--core/views/expo.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/core/views/caves.py b/core/views/caves.py
index 5415302..f32132c 100644
--- a/core/views/caves.py
+++ b/core/views/caves.py
@@ -26,7 +26,8 @@ from .auth import login_required_if_public
Manages the use of cavern to parse survex files to produce 3d and pos files
'''
-todo = '''Fix rendercave() so that CaveView works
+todo = '''- Fix rendercave() so that CaveView works
+- in getCaves() search GCavelookup first, which should raise a MultpleObjectsReturned exception if no duplicates
'''
def getCaves(cave_id):
diff --git a/core/views/expo.py b/core/views/expo.py
index bcd446e..3a89269 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -47,7 +47,7 @@ default_head = '''<head>
<li><form name=P method=get action="/search" target="_top">
<input id="omega-autofocus" type=search name=P size=8 autofocus>
<input type=submit value="Search"></li>
-</ul>'''
+</ul>''' # this gets overwritten by templates/menu.html by django for most normal pages
def expofiles_redirect(request, filepath):
'''This is used only when running as a test system without a local copy of /expofiles/