justinmayer / django-autoslug

AutoSlugField for Django. Supports (but not does not require) unidecode/pytils for transliteration. Old issue tracker is at Bitbucket: https://bitbucket.org/neithere/django-autoslug/issues

Home Page:https://readthedocs.org/projects/django-autoslug/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slug doesn't work peoperly in Farsi even with allow_unicode=True

amirreza8002 opened this issue · comments

hi
so i'm using AutoSlugField for a website that is in Farsi language (similar to arabic alphabet)
and i set the allow_unicode to True
but it still dosen't work and just returns the name of the model as slug

this is my field:
slug = AutoSlugField(verbose_name=_("slug"), populate_from="title", unique=True, allow_unicode=True)

worth noting that it works fine when i use an english word as title
the problem is with using Farsi words