skip to Main Content

Django Redis problem with Docker: InvalidCacheBackendError: No module named 'django.core.cache.backends.redis'

I want to use Redis through docker for the cache but got this error. django.core.cache.backends.base.InvalidCacheBackendError: Could not find backend 'django.core.cache.backends.redis.RedisCache': No module named 'django.core.cache.backends.redis' My cache settings are this. CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.redis.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379', } }…

VIEW QUESTION
Back To Top
Search