django-redis-cache icon indicating copy to clipboard operation
django-redis-cache copied to clipboard

Incompatible with Django 3.0 alpha

Open simonw opened this issue 4 years ago • 4 comments

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: https://github.com/sebleier/django-redis-cache/blob/0b1f870a0960faf253a9133b9bfc2b994da057d3/redis_cache/utils.py#L5-L7

simonw avatar Sep 11 '19 00:09 simonw

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)

simonw avatar Sep 11 '19 00:09 simonw

See #174 which should add the support

unchris avatar Sep 26 '19 16:09 unchris

Yep, just got that error with version 2.1.3

ppfeufer avatar Sep 30 '20 20:09 ppfeufer

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

thenewguy avatar Sep 30 '20 22:09 thenewguy