|
...
|
...
|
@@ -20,6 +20,10 @@ DATABASES = {
|
|
20
|
20
|
CACHE_BACKEND = 'dummy://'
|
|
21
|
21
|
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
|
|
22
|
22
|
|
|
|
23
|
+# Set a secure and unique SECRET_KEY (the Django default is '')
|
|
|
24
|
+from horizon.utils import secret_key
|
|
|
25
|
+SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join(LOCAL_PATH, '.secret_key_store'))
|
|
|
26
|
+
|
|
23
|
27
|
# Send email to the console by default
|
|
24
|
28
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
|
25
|
29
|
# Or send them to /dev/null
|