Created
May 23, 2017 22:15
-
-
Save guybowden/c3e7337c97b14fe7641dde43ec413f8f to your computer and use it in GitHub Desktop.
This file contains 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 characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment