forked from expo/troggle
Add survex trips to logbook mentions
This commit is contained in:
@@ -139,11 +139,13 @@ class Expeditions_jsonListView(ListView):
|
||||
def person(request, first_name='', last_name='', ):
|
||||
try:
|
||||
this_person = Person.objects.get(first_name = first_name, last_name = last_name)
|
||||
return render(request,'person.html', {'person': this_person, })
|
||||
except:
|
||||
message = f'Person not found \'{first_name} {last_name}\' - possibly Scottish? (See our <a href="/handbook/troggle/namesredesign.html">Proposal to fix this</a>)'
|
||||
return render(request, 'errors/generic.html', {'message': message})
|
||||
return render(request, 'errors/generic.html', {'message': message})
|
||||
|
||||
|
||||
return render(request,'person.html', {'person': this_person })
|
||||
|
||||
|
||||
|
||||
def get_person_chronology(personexpedition):
|
||||
|
||||
Reference in New Issue
Block a user