Add the Redis username to the Django default cache settings
This commit is contained in:
parent
2b54582cd7
commit
15565a1709
|
|
@ -413,6 +413,7 @@ CACHES = {
|
|||
'LOCATION': CACHING_REDIS_URL,
|
||||
'OPTIONS': {
|
||||
'CLIENT_CLASS': 'django_redis.client.DefaultClient',
|
||||
'USERNAME': CACHING_REDIS_USERNAME,
|
||||
'PASSWORD': CACHING_REDIS_PASSWORD,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue