From 7c23bed425b83d143d14d59c489075fc82905dae Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 20 Oct 2014 14:43:53 -0400 Subject: [PATCH] Index name for Haystack. --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.py b/settings.py index bc9bb95..7943e62 100644 --- a/settings.py +++ b/settings.py @@ -7,7 +7,7 @@ if 'DATABASE_URL' in os.environ: HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', - 'INDEX_NAME': 'snipt', + 'INDEX_NAME': os.environ.get('BONSAI_INDEX', ''), 'URL': os.environ.get('BONSAI_URL', ''), }, }