# Additional locations of static files
STATICFILES_DIRS = ( "/opt/planetstack/core/static/",
+ "/opt/planetstack/core/xoslib/static/",
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
+ 'core.middleware.GlobalRequestMiddleware',
# Uncomment the next line for simple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
"/opt/planetstack/templates",
+ "/opt/planetstack/core/xoslib/templates",
)
INSTALLED_APPS = (
{'label': 'RequestRouter', 'icon':'icon-cog', 'app': 'requestrouter'},
{'label': 'HyperCache', 'icon':'icon-cog', 'app': 'hpc'},
{'label': 'Syndicate', 'icon':'icon-cog', 'app': 'syndicate_storage'},
- {'label': 'Cassandra', 'icon':'icon-cog', 'app': 'cassandra'},
+# {'label': 'Cassandra', 'icon':'icon-cog', 'app': 'cassandra'},
# {'label': 'KairosDB', 'icon':'icon-cog', 'app': 'kairos'},
# {'label': 'Nagios', 'icon':'icon-cog', 'app': 'nagios'},
BIGQUERY_TABLE = getattr(config, "bigquery_table", "demoevents")
DISABLE_MINIDASHBOARD = getattr(config, "gui_disable_minidashboard", False)
+ENCRYPTED_FIELDS_KEYDIR = '/opt/planetstack/private_keys'
+ENCRYPTED_FIELD_MODE = 'ENCRYPT'
+
+# prevents warnings on django 1.7
+TEST_RUNNER = 'django.test.runner.DiscoverRunner'