Given that Redis config appears in the default settings, it seems appropriate to include it as a dependency.
The default Redis config in settings.py also isn't compatible with a django-redis that supports Django 3.2, giving:
InvalidCacheBackendError: Could not find backend 'redis_cache.cache.RedisCache': cannot import name 'get_cache'
and, when that's fixed, giving the following due to issues in splitting code:
ValueError: Redis URL must specify one of the following schemes (redis://, rediss://, unix://)
I've updated the config to address this. My thinking is that the defaults should be simple and anything more complex needs should be addressed in local_settings.py.
I've also removed the Celery config since Celery isn't used anywhere within the frontend and BROKER_URL was being set based on the Redis config.
Given that Redis config appears in the default settings, it seems appropriate to include it as a dependency.
The default Redis config in
settings.py
also isn't compatible with a django-redis that supports Django 3.2, giving:InvalidCacheBackendError: Could not find backend 'redis_cache.cache.RedisCache': cannot import name 'get_cache'
and, when that's fixed, giving the following due to issues in splitting code:
ValueError: Redis URL must specify one of the following schemes (redis://, rediss://, unix://)
I've updated the config to address this. My thinking is that the defaults should be simple and anything more complex needs should be addressed in
local_settings.py
.I've also removed the Celery config since Celery isn't used anywhere within the frontend and
BROKER_URL
was being set based on the Redis config.