«slug is defined before trying to ensure uniqueness» exception for Cyrillic populate source for Python 3.5.x
Issue #45
new
Hi. Let's say we have a model:
@python_2_unicode_compatible
class News(models.Model):
title = models.CharField(verbose_name=_('заголовок'), max_length=128, unique=True)
slug = AutoSlugField(populate_from='title')
...
So, if I try to add news with latin chars from django-admin page (for example: title = 'Hello!'), it's work fine. But, if I try do the same with cyrillic (title='Привет!'), I get exception «slug is defined before trying to ensure uniqueness»
Django 1.8 Python 3.5.0
How can I fix it?
For future visitors: I duplicated this issue on Github: https://github.com/neithere/django-autoslug/issues/21.