Django 3 doesn't contain 'six' anymore
See original GitHub issueSee https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis
File "/home/tic/Development/karrot-docker/karrot-backend/karrot/groups/models.py", line 13, in <module>
from versatileimagefield.fields import VersatileImageField
File "/home/tic/Development/karrot-docker/karrot-backend/env/lib/python3.7/site-packages/versatileimagefield/fields.py", line 12, in <module>
from .files import VersatileImageFieldFile, VersatileImageFileDescriptor
File "/home/tic/Development/karrot-docker/karrot-backend/env/lib/python3.7/site-packages/versatileimagefield/files.py", line 9, in <module>
from django.utils import six
ImportError: cannot import name 'six' from 'django.utils' (/home/tic/Development/karrot-docker/karrot-backend/env/lib/python3.7/site-packages/django/utils/__init__.py)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Getting error cannot import name 'six' from 'django.utils' when ...
I have checked in folder Lib\site-packages\django\utils and not found and six.py file but still from Lib\site-packages\jsonfield\encode.py ...
Read more >Databases | Django documentation
Django opens a connection to the database when it first makes a database query. It keeps this connection open and reuses it in...
Read more >Static File Errors With New Version of Django - YouTube
... to version 3.1 and now we need to make a change to our settings.py file to deal with our static files.In the...
Read more >How to build a React application in a Django project
Learning about hybrid applications by creating a single-page React app. Exploring the common issues that come up and how to solve them.
Read more >Chapter 6: The Django Admin Site
(The order of INSTALLED_APPS doesn't matter, but we like to keep things alphabetical so it's easy for a human to read.) Make sure...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @ndavydovdev, @dmptrluke and @tiltec!
This PR has been merged and added to the new 2.0 release, here’s how to get it:
Hey @ndavydovdev, @dmptrluke and @tiltec!
Apologies for not getting to this yet as I’ve been absolutely slammed. I promise I’ll get this sorted and have a new Django 3.0-ready release minuted by this weekend. Stay tuned!