Just fix some minor coding styles inconsistency in local_settings.py.

Change-Id: I64a25b31fc53e4166f9ef3fd8903cc843b389c24
This commit is contained in:
Xiao Hanyu 2014-04-10 13:43:30 +08:00
parent 00509e674e
commit f47c57811a
1 changed files with 5 additions and 4 deletions

View File

@ -90,21 +90,22 @@ LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
# requests routed to the same dashboard instance or you set the same SECRET_KEY
# for all of them.
from horizon.utils import secret_key
SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join(LOCAL_PATH, '.secret_key_store'))
SECRET_KEY = secret_key.generate_or_read_from_file(
os.path.join(LOCAL_PATH, '.secret_key_store'))
# We recommend you use memcached for development; otherwise after every reload
# of the django development server, you will have to login again. To use
# memcached set CACHES to something like
# CACHES = {
# 'default': {
# 'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
# 'LOCATION' : '127.0.0.1:11211',
# 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
# 'LOCATION': '127.0.0.1:11211',
# }
#}
CACHES = {
'default': {
'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'
}
}