mfogel / django-simple-email-confirmation

Simple email confirmation for django.
170 stars 68 forks source link

Package breaks in Django >=3.0.0 #67

Closed kennell closed 4 years ago

kennell commented 4 years ago

Tested with django==3.0.0 and django==3.0.1

File "/home/k/.virtualenvs/focsec/lib/python3.6/site-packages/simple_email_confirmation/models.py", line 9, in <module>
    from django.utils.encoding import python_2_unicode_compatible
ImportError: cannot import name 'python_2_unicode_compatible'

It seems that this was dropped in Django 3.0.0 (see release notes) and can simply be fixed by importing directly from six