Commit fedfcf27 authored by Benjamin Graillot's avatar Benjamin Graillot

[note] Update normalize algorithm

parent 7a7cc2bf
Pipeline #1475 passed with stage
in 3 minutes and 5 seconds
......@@ -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):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment