Explorar o código

Add the Redis username to the Django default cache settings

Peter Eckel hai 10 horas
pai
achega
15565a1709
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      netbox/netbox/settings.py

+ 1 - 0
netbox/netbox/settings.py

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