Use remote cache
This commit is contained in:
parent
cde6c1d288
commit
b03b4fadce
|
@ -125,7 +125,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||||
CACHES = {
|
CACHES = {
|
||||||
"default": {
|
"default": {
|
||||||
"BACKEND": "django_redis.cache.RedisCache",
|
"BACKEND": "django_redis.cache.RedisCache",
|
||||||
"LOCATION": "redis://127.0.0.1:6379/1",
|
"LOCATION": "redis://cache.george.ooo:6379/1",
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"CLIENT_CLASS": "django_redis.client.DefaultClient"
|
"CLIENT_CLASS": "django_redis.client.DefaultClient"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user