diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-20 23:57:51 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-20 23:57:51 +0100 |
commit | 18938c9fca5af4ed8e8fe97f101bd5a9870f2b5a (patch) | |
tree | 2bea5d8db3bb2ff66dfc06d5fd8e3d422a243ac1 /core | |
parent | 8f0e7435d694a96733de7d95b09f317e993e18d6 (diff) | |
download | troggle-18938c9fca5af4ed8e8fe97f101bd5a9870f2b5a.tar.gz troggle-18938c9fca5af4ed8e8fe97f101bd5a9870f2b5a.tar.bz2 troggle-18938c9fca5af4ed8e8fe97f101bd5a9870f2b5a.zip |
more attempts to recognise scotsmen
Diffstat (limited to 'core')
-rw-r--r-- | core/views/logbooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/logbooks.py b/core/views/logbooks.py index 394add7..74da4f6 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 \'{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? (We have a name parser issue with Mc, Mac etc.)' return render(request, 'errors/generic.html', {'message': message}) |