django-redis-cache
django-redis-cache copied to clipboard
Incompatible with Django 3.0 alpha
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
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)
See #174 which should add the support
Yep, just got that error with version 2.1.3
I just had this error with 2.1.3 as well. Not sure what happened but I guess the release is messed up