From d9a7c4f2fe151fdc61a1b3a9cc1c06fe6417bc07 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 20 Oct 2014 19:29:56 -0400 Subject: [PATCH] Working on ES integration for Heroku. --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 29415b6..ff8858d 100644 --- a/settings.py +++ b/settings.py @@ -7,7 +7,7 @@ if 'DATABASE_URL' in os.environ: DATABASES = { 'default': dj_database_url.config() } - es = urlparse(os.environ.get('SEARCHBOX_URL') or 'http://127.0.0.1:9200/') + es = urlparse(os.environ.get('SEARCHBOX_SSL_URL') or 'http://127.0.0.1:9200/') port = es.port or 80 HAYSTACK_CONNECTIONS = {