Skip to content

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

@amirreza-sf80

Description

@amirreza-sf80

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions