python functions should not be camelCase
This commit is contained in:
parent
625fede7d6
commit
ff9612a3f0
8 changed files with 46 additions and 45 deletions
|
|
@ -24,7 +24,7 @@ from ox import stripTags
|
|||
from ox.normalize import canonicalTitle, canonicalName
|
||||
|
||||
|
||||
def getPersonSort(name):
|
||||
def get_name_sort(name):
|
||||
person, created = Person.objects.get_or_create(name=name)
|
||||
name_sort = unicodedata.normalize('NFKD', person.name_sort)
|
||||
return name_sort
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue