Add the Redis username to the Django default cache settings

This commit is contained in:
Peter Eckel 2026-08-28 16:30:47 +02:00 committed by Jeremy Stretch
parent 2b54582cd7
commit 15565a1709
1 changed files with 1 additions and 0 deletions

View File

@ -413,6 +413,7 @@ CACHES = {
'LOCATION': CACHING_REDIS_URL,
'OPTIONS': {
'CLIENT_CLASS': 'django_redis.client.DefaultClient',
'USERNAME': CACHING_REDIS_USERNAME,
'PASSWORD': CACHING_REDIS_PASSWORD,
}
}