summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-09-28 09:53:49 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-09-28 09:53:49 +0200
commit4a37fa206752e4816a0f9e182dba2d7db2fae54f (patch)
treeba6813f05968678c468386711cf1ba3c755986c6 /settings.py
parente4f39ab814f4d0b616844cca8d1dbc7748dda24c (diff)
downloadChimère-4a37fa206752e4816a0f9e182dba2d7db2fae54f.tar.bz2
Chimère-4a37fa206752e4816a0f9e182dba2d7db2fae54f.zip
Change CHIMERE_SEARCH_ENGINE to HAYSTACK_SEARCH_ENGINE
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings.py b/settings.py
index cc5ed21..42eaa4a 100644
--- a/settings.py
+++ b/settings.py
@@ -141,8 +141,8 @@ CHIMERE_THUMBS_SCALE_HEIGHT = 250
CHIMERE_THUMBS_SCALE_WIDTH = None
# search engine
-CHIMERE_SEARCH_ENGINE = False
CHIMERE_SEARCH_LANGUAGE = 'french'
+HAYSTACK_SEARCH_ENGINE = False
HAYSTACK_CONNECTIONS = {
'default': {
@@ -292,7 +292,7 @@ INSTALLED_APPS.insert(INSTALLED_APPS.index('chimere'), PROJECT_APP)
for app in EXTRA_APPS:
INSTALLED_APPS.append(app)
-if CHIMERE_SEARCH_ENGINE:
+if HAYSTACK_SEARCH_ENGINE:
INSTALLED_APPS.append('haystack')
if 'LOGGING' not in globals():