[note] Update normalize algorithm

This commit is contained in:
Benjamin Graillot 2019-09-02 16:09:11 +00:00
parent 7a7cc2bfef
commit fedfcf27b5
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class Alias(models.Model):
for char in unicodedata.normalize('NFKD', string.casefold())
if all(not unicodedata.category(char).startswith(cat)
for cat in {'M', 'P', 'Z', 'C'})
)
).casefold()
def save(self, *args, **kwargs):
"""