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

Incompatible with Django 3.0 alpha #173

Open
simonw opened this issue Sep 11, 2019 · 4 comments
Open

Incompatible with Django 3.0 alpha #173

simonw opened this issue Sep 11, 2019 · 4 comments

Comments

@simonw
Copy link

simonw commented Sep 11, 2019

I got this error:

Could not find backend 'redis_cache.RedisCache': cannot import name 'six' from 'django.utils' (/app/.heroku/python/lib/python3.7/site-packages/django/utils/__init__.py)

Django 3.0 doesn't have django.utils.six any more:

from django.utils import six
from django.utils.encoding import force_text, python_2_unicode_compatible
from django.utils.six.moves.urllib.parse import parse_qs, urlparse

@simonw
Copy link
Author

simonw commented Sep 11, 2019

Also:

InvalidCacheBackendError: Could not find backend 'redis_cache.RedisCache': cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/app/.heroku/python/lib/python3.7/site-packages/django/utils/encoding.py)

@unchris
Copy link

unchris commented Sep 26, 2019

See #174 which should add the support

@ppfeufer
Copy link

Yep, just got that error with version 2.1.3

@thenewguy
Copy link

I just had this error with 2.1.3 as well. Not sure what happened but I guess the release is messed up

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

4 participants