Update cache settings
This commit is contained in:
parent
492b8d33ff
commit
1aea2df2ea
2 changed files with 2 additions and 13 deletions
|
|
@ -108,11 +108,11 @@ DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
|
||||||
CACHES = {
|
CACHES = {
|
||||||
"default": {
|
"default": {
|
||||||
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
||||||
"LOCATION": "localhost:11211",
|
"LOCATION": "memcached:11211",
|
||||||
},
|
},
|
||||||
"axes": {
|
"axes": {
|
||||||
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
||||||
"LOCATION": "localhost:11211",
|
"LOCATION": "memcached:11211",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,17 +16,6 @@ LOGGING["loggers"].update(
|
||||||
|
|
||||||
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
||||||
|
|
||||||
CACHES = {
|
|
||||||
"default": {
|
|
||||||
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
||||||
"LOCATION": "memcached:11211",
|
|
||||||
},
|
|
||||||
"axes": {
|
|
||||||
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
||||||
"LOCATION": "memcached:11211",
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
# Project settings
|
# Project settings
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue