Add missing setting for cache

The install guide instructs how to use memcached for a session
store for Horizon. It configures the caches, but does not actually
tell Horizon to use it for sessions. The default is signed-cookies
for sessions not caching.

This patch adds the setting to tell Horizon to use the cache for
sessions.

Change-Id: I7cd2add9df5dd699879dbdd1406495dc03f5267b
This commit is contained in:
David Lyle 2016-03-07 17:48:22 -07:00
parent 1bb5545ca4
commit dd820abdb6

View File

@ -107,6 +107,8 @@ Install and configure components
.. code-block:: ini
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
@ -191,6 +193,8 @@ Install and configure components
.. code-block:: ini
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
@ -275,6 +279,8 @@ Install and configure components
.. code-block:: ini
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',