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
1 changed files with 4 additions and 2 deletions

View File

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