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/