From 22cc2e2052a3fca4b4bd21c99b04c8efcfaf4bfa Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 27 Sep 2017 16:25:34 +0200 Subject: New search management via postgresql --- settings.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'settings.py') diff --git a/settings.py b/settings.py index 02200fb..cc5ed21 100644 --- a/settings.py +++ b/settings.py @@ -142,6 +142,8 @@ CHIMERE_THUMBS_SCALE_WIDTH = None # search engine CHIMERE_SEARCH_ENGINE = False +CHIMERE_SEARCH_LANGUAGE = 'french' + HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'haystack.backends.solr_backend.SolrEngine', @@ -253,6 +255,7 @@ INSTALLED_APPS = [ 'django.contrib.sites', 'django.contrib.gis', 'django.contrib.staticfiles', + 'django.contrib.postgres', ] # celery -- cgit v1.2.3