From eab07a1dbe6e4c65c9c6fee2cfda76b9efc35eda Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Wed, 16 Aug 2017 10:09:52 +0200
Subject: [PATCH] Fix dead link coming from Haystack

---
 SciPost_v1/settings/base.py | 14 +++++++-------
 scipost/urls.py             |  1 -
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/SciPost_v1/settings/base.py b/SciPost_v1/settings/base.py
index 3abb27c0d..1bd6134e0 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 = {
diff --git a/scipost/urls.py b/scipost/urls.py
index eb36c827b..71d914230 100644
--- a/scipost/urls.py
+++ b/scipost/urls.py
@@ -63,7 +63,6 @@ urlpatterns = [
 
     # Search
     url(r'^search$', views.search, name='search'),
-    url(r'^search/', include('haystack.urls')),
 
     ################
     # Contributors:
-- 
GitLab