Move caching to memcached

This commit is contained in:
2020-02-07 09:06:02 +00:00
parent 28e79b9362
commit 5d4ef292d6
5 changed files with 23 additions and 5 deletions
+8
View File
@@ -117,6 +117,14 @@ DATABASES = {
}
}
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
'TIMEOUT': None,
}
}
# Password validation
# https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators