From c80b745bfed4325240b62da642418d7ae7bebd70 Mon Sep 17 00:00:00 2001 From: Sym Roe Date: Sat, 15 Aug 2020 16:22:11 +0100 Subject: [PATCH] Remove haystack --- webapp_settings/production.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/webapp_settings/production.py b/webapp_settings/production.py index ed2d41a..aff06a8 100644 --- a/webapp_settings/production.py +++ b/webapp_settings/production.py @@ -25,21 +25,6 @@ ('YNR Prod Developers', 'developers+ynr-prod@democracyclub.org.uk') ) -HAYSTACK_SIGNAL_PROCESSOR = 'celery_haystack.signals.CelerySignalProcessor' - -HAYSTACK_CONNECTIONS = { - 'default': { - 'ENGINE': 'haystack.backends.elasticsearch2_backend.Elasticsearch2SearchEngine', - 'URL': '{{ AWS_EX_URL }}', - 'INDEX_NAME': 'ynr_prod', - 'KWARGS': { - # pass CA cert info to urllib3 to be able to verify connection certificates - 'verify_certs': True, - 'ca_certs': certifi.where() - } - }, -} - CELERY_BROKER_URL = "redis://localhost:6379/0" SITE_WIDE_MESSAGES = [