From 69d7b0c173fab2e68196dfb4190c35072ea4035f Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Wed, 16 Aug 2017 15:29:37 +0200 Subject: [PATCH] Fix: Reverting Haystack uninstall, what is this thing? --- SciPost_v1/settings/base.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SciPost_v1/settings/base.py b/SciPost_v1/settings/base.py index 1bd6134e0..3abb27c0d 100644 --- a/SciPost_v1/settings/base.py +++ b/SciPost_v1/settings/base.py @@ -80,7 +80,7 @@ INSTALLED_APPS = ( 'ajax_select', 'captcha', 'guardian', - # 'haystack', + 'haystack', 'rest_framework', 'sphinxdoc', 'commentaries', @@ -98,12 +98,12 @@ INSTALLED_APPS = ( 'webpack_loader', ) -# HAYSTACK_CONNECTIONS = { -# 'default': { -# 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', -# 'PATH': 'local_files/haystack/', -# }, -# } +HAYSTACK_CONNECTIONS = { + 'default': { + 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', + 'PATH': 'local_files/haystack/', + }, +} SPHINXDOC_BASE_TEMPLATE = 'scipost/base.html' SPHINXDOC_PROTECTED_PROJECTS = { -- GitLab