Patch for Django's slugify function.
Adds transliteration of locale-specific symbols into ASCII. Uses unidecode package.
https://code.djangoproject.com/ticket/8391 - related issue.
- Install it:
-e git+https://github.com/simplylizz/django-slugify.git#egg=slugify
- Add it to the
INSTALLED_APPS
in yoursettings.py
:
INSTALLED_APPS = [
...
'slugify',
]
- Set
PATCH_SLUGIFY = True
in yoursettings.py
if you want to monkey-patch default slugify function and make it working with unicode symbols automatically. - Enjoy your URLs. ^__^