Created
May 23, 2017 22:15
-
-
Save guybowden/c3e7337c97b14fe7641dde43ec413f8f to your computer and use it in GitHub Desktop.
Revisions
-
guybowden created this gist
May 23, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ from base import * SEARCH_INDEX = os.environ.get('SEARCH_INDEX', 'test_haystack') HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': os.environ.get('HAYSTACK_ENGINE', 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine'), 'URL': ELASTICSEARCH_URL, 'INDEX_NAME': SEARCH_INDEX, 'KWARGS': ELASTICSEARCH_KWARGS }, } # disable realtime index signal processing # HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.BaseSignalProcessor' CELERY_ALWAYS_EAGER = False DEBUG = False TEMPLATE_DEBUG = False import logging logging.disable(logging.ERROR)