N
Size: a a a
N
bn
bn
N
N
bn
N
N
ВЗ
N
ВЗ
ВЗ
ВЗ
PZ
ВЗ
Н
Н
PZ
from django.utils.text import slugify
slugify('такие дела')
''
slugify('такие дела', allow_unicode=True)
'такие-дела'
pip install unidecode
from unidecode import unidecode
slugify(unidecode('такие дела')) -> 'takie-dela'
N
ВЗ
from django.utils.text import slugify
slugify('такие дела')
''
slugify('такие дела', allow_unicode=True)
'такие-дела'
pip install unidecode
from unidecode import unidecode
slugify(unidecode('такие дела')) -> 'takie-dela'