Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with django.utils.six when upgrading to Django 3.0.x #1

Open
AlexGeorgopoulos opened this issue Aug 3, 2020 · 0 comments
Open

Comments

@AlexGeorgopoulos
Copy link

AlexGeorgopoulos commented Aug 3, 2020

Hello. Congrats for the package!

I wanted to update my project from Django 2.2.x to 3.0.x. However, the following error occurred:
File "/django_app/src/django-groundworks/groundworks/models.py", line 7, in <module> from django.utils import six, timezone ImportError: cannot import name 'six'

Per here, django removed django.utils.six since from version >3. (python 2 was totally removed even from compatibility APIs)

six is imported and used in groundworks/models.py in WithEnforcedValues Model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant