ubernostrum / django-registration

An extensible user-registration app for Django.
BSD 3-Clause "New" or "Revised" License
923 stars 241 forks source link

Attempts to import django.utils.six, yet deprecated #194

Closed fronbasal closed 4 years ago

fronbasal commented 4 years ago
File "/Users/fronbasal/.local/share/virtualenvs/enpage-backend-pl5Fi2aq/lib/python3.8/site-packages/django_registration/forms.py", line 17, in <module>
    from . import validators
  File "/Users/fronbasal/.local/share/virtualenvs/enpage-backend-pl5Fi2aq/lib/python3.8/site-packages/django_registration/validators.py", line 10, in <module>
    from django.utils import six
ImportError: cannot import name 'six' from 'django.utils' (/Users/fronbasal/.local/share/virtualenvs/enpage-backend-pl5Fi2aq/lib/python3.8/site-packages/django/utils/__init__.py)

Python 2 support has been dropped from Django. Either drop it in this package, too or move to six as a external dependency.

I'm using django version 3.0.1

[EDIT] I just found this was already added in the newest version, it just isn't released yet.