2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

Person twiddles

This commit is contained in:
Philip Sargent 2022-10-11 21:47:18 +03:00
parent c3bfd50cf1
commit 52c0ab213a
2 changed files with 2 additions and 2 deletions

View File

@ -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})

View File

@ -28,7 +28,7 @@
</p>
<h3>Surveys done</h3>
Wallets and surveys mentioning <a href="/wallets/person/{{person}}">{{person}}</a>
Wallets and surveys mentioning <a href="/wallets/person/{{person}}">{{person}}</a><br>
{% if person.blurb %}
{{person.blurb|safe}}