Just fix some minor coding styles inconsistency in local_settings.py.
Change-Id: I64a25b31fc53e4166f9ef3fd8903cc843b389c24
This commit is contained in:
parent
00509e674e
commit
f47c57811a
|
@ -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
|
# requests routed to the same dashboard instance or you set the same SECRET_KEY
|
||||||
# for all of them.
|
# for all of them.
|
||||||
from horizon.utils import secret_key
|
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
|
# We recommend you use memcached for development; otherwise after every reload
|
||||||
# of the django development server, you will have to login again. To use
|
# of the django development server, you will have to login again. To use
|
||||||
# memcached set CACHES to something like
|
# memcached set CACHES to something like
|
||||||
# CACHES = {
|
# CACHES = {
|
||||||
# 'default': {
|
# 'default': {
|
||||||
# 'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
|
# 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||||||
# 'LOCATION' : '127.0.0.1:11211',
|
# 'LOCATION': '127.0.0.1:11211',
|
||||||
# }
|
# }
|
||||||
#}
|
#}
|
||||||
|
|
||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue