forked from expo/troggle
Person twiddles
This commit is contained in:
@@ -141,7 +141,7 @@ def person(request, first_name='', last_name='', ):
|
||||
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? (We have a name parser issue with Mc, Mac etc.)'
|
||||
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})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user