summaryrefslogtreecommitdiffstats
path: root/core/views/logbooks.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-20 23:14:10 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-20 23:14:10 +0100
commitbad5484d126bf0d61a07d642aeb18f9ad4fc9dea (patch)
tree087b439358be8289e4df826355a3505cb2ecc7ad /core/views/logbooks.py
parentb4ba3c40ebf26cae49e93f2aa6c2f1b6e8bc556e (diff)
downloadtroggle-bad5484d126bf0d61a07d642aeb18f9ad4fc9dea.tar.gz
troggle-bad5484d126bf0d61a07d642aeb18f9ad4fc9dea.tar.bz2
troggle-bad5484d126bf0d61a07d642aeb18f9ad4fc9dea.zip
fix for missing scotsmen
Diffstat (limited to 'core/views/logbooks.py')
-rw-r--r--core/views/logbooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/logbooks.py b/core/views/logbooks.py
index 4abe966..394add7 100644
--- a/core/views/logbooks.py
+++ b/core/views/logbooks.py
@@ -119,7 +119,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 - possibly Scottish? (We have a name parser issue with Mc, Mac etc.)'
+ message = f'Person not found \'{first_name}-{last_name}\' - possibly Scottish? (We have a name parser issue with Mc, Mac etc.)'
return render(request, 'errors/generic.html', {'message': message})