mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-26 01:01:58 +00:00
Added mention of wallets person - online edit of handbook/troggle/namesredesign.html
This commit is contained in:
parent
47afe51ec9
commit
fe306c307d
@ -45,7 +45,10 @@ This has to be fixed as it affects ~5% of our expoers.
|
|||||||
<li>In <var>urls.py</var> we have
|
<li>In <var>urls.py</var> we have
|
||||||
<code>
|
<code>
|
||||||
re_path(r'^person/(?P<first_name>[A-Z]*[a-z\-\'&;]*)[^a-zA-Z]*(?P<last_name>[a-z\-\']*[^a-zA-Z]*[\-]*[A-Z]*[a-zA-Z\-&;]*)/?', person, name="person"),
|
re_path(r'^person/(?P<first_name>[A-Z]*[a-z\-\'&;]*)[^a-zA-Z]*(?P<last_name>[a-z\-\']*[^a-zA-Z]*[\-]*[A-Z]*[a-zA-Z\-&;]*)/?', person, name="person"),
|
||||||
|
|
||||||
re_path(r'^personexpedition/(?P<first_name>[A-Z]*[a-z&;]*)[^a-zA-Z]*(?P<last_name>[A-Z]*[a-zA-Z&;]*)/(?P<year>\d+)/?$', personexpedition, name="personexpedition"),
|
re_path(r'^personexpedition/(?P<first_name>[A-Z]*[a-z&;]*)[^a-zA-Z]*(?P<last_name>[A-Z]*[a-zA-Z&;]*)/(?P<year>\d+)/?$', personexpedition, name="personexpedition"),
|
||||||
|
|
||||||
|
re_path('wallets/person/(?P<first_name>[A-Z]*[a-z\-\'&;]*)[^a-zA-Z]*(?P<last_name>[a-z\-\']*[^a-zA-Z]*[\-]*[A-Z]*[a-zA-Z\-&;]*)/?', walletslistperson, name="walletslistperson"),
|
||||||
</code>
|
</code>
|
||||||
where the transmission noise is attmpting to recognise a name and split it into <first_name> and <last_name>.
|
where the transmission noise is attmpting to recognise a name and split it into <first_name> and <last_name>.
|
||||||
Naturally this fails horribly even for relatively straightforward names such as <em>Ruairidh MacLeod</em>.
|
Naturally this fails horribly even for relatively straightforward names such as <em>Ruairidh MacLeod</em>.
|
||||||
|
Loading…
Reference in New Issue
Block a user