@ -37,6 +37,7 @@ DB_PASS = 'zzzzzzzzz'
# Development
TEMPLATES_AUTO_RELOAD = True
ELASTICSEARCH_ENABLED = False
# Social
SOCIAL = {
@ -4,6 +4,7 @@ from wowstash import config
def send_es(data):
if getattr(config, 'ELASTICSEARCH_ENABLED', False):
try:
es = Elasticsearch(
[getattr(config, 'ELASTICSEARCH_HOST', 'localhost')]