Fix syntax error in installation guide

This fixes a missing comma in the configuration example
and also adds a proper default key to caches.

Change-Id: I907172cfe295b310617139b0431ededda7fc33f4
This commit is contained in:
Erik Olof Gunnar Andersson
2019-11-30 21:40:28 -08:00
parent 5100262298
commit 9efd44a40a

View File

@@ -114,8 +114,10 @@ Memcached
SESSION_ENGINE = 'django.contrib.sessions.backends.cache' SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = { CACHES = {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache' 'default': {
'LOCATION': 'my_memcached_host:11211', 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'controller:11211',
}
} }
External caching using an application such as memcached offers persistence External caching using an application such as memcached offers persistence