Add utf-8 support in slugs with autoslug

Slugs end up empty if list name consists only of non-ascii characters
and that results in an error. Autoslug converts non-ascii characters to
appropriate ascii ones and auto-updates the slug when list name changes.

Add unidecode dependency and fix PEP8 errors

models.py: add one blank line for PEP8
This commit is contained in:
Manos Pitsidianakis 2017-04-10 14:30:24 +03:00
parent f235b4effc
commit 710cb1a0ad
2 changed files with 3 additions and 8 deletions

View file

@ -99,6 +99,7 @@ setup(
include_package_data=True,
zip_safe=False,
tests_require=['tox'],
install_requires=['django-autoslug', 'unidecode', ],
cmdclass={
'clean': Clean,
'test': Tox,