forked from expo/troggle
[svn] I initial work at adding caveareas. (Descirprion of parts of caves)
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8226 by julian @ 1/24/2009 6:49 PM
This commit is contained in:
@@ -27,6 +27,11 @@ def survexblock(request, survexpath):
|
||||
ftext = survexblock.text
|
||||
return render_to_response('survexblock.html', {'survexblock':survexblock, 'ftext':ftext, 'settings':settings })
|
||||
|
||||
def caveArea(request, name):
|
||||
cavearea = models.CaveArea.objects.get(name = name)
|
||||
cave = cavearea.cave
|
||||
return render_to_response('cavearea.html', {'cavearea': cavearea, 'cave': cave, 'settings':settings })
|
||||
|
||||
def caveSearch(request):
|
||||
query_string = ''
|
||||
found_entries = None
|
||||
|
||||
Reference in New Issue
Block a user