-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean person names #2471
base: master
Are you sure you want to change the base?
Clean person names #2471
Conversation
ynr/apps/people/management/commands/people_clean_person_names.py
Outdated
Show resolved
Hide resolved
ynr/apps/people/management/commands/people_clean_person_names.py
Outdated
Show resolved
Hide resolved
ynr/apps/people/management/commands/people_clean_person_names.py
Outdated
Show resolved
Hide resolved
ynr/apps/people/management/commands/people_clean_person_names.py
Outdated
Show resolved
Hide resolved
3e2c7f4
to
7514148
Compare
@chris48s I think I've addressed all of these. I've enumerated the whitespace values manually rather than doing something like your suggestion...there weren't many values and this allows us to add in other values in the future if we like. |
ynr/apps/people/management/commands/people_clean_person_names.py
Outdated
Show resolved
Hide resolved
ynr/apps/people/management/commands/people_clean_person_names.py
Outdated
Show resolved
Hide resolved
I've renamed the function to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Latest changes look sensible but I have not run the code locally. Will leave it with you to squash the fixups and merge
Someone in our Slack pointed out we have some unicode in names that we don't want. This command sorts that out.