--- a/src/iconolab_mcc/settings/dev.py.tmpl Wed May 23 12:42:37 2018 +0200
+++ b/src/iconolab_mcc/settings/dev.py.tmpl Tue Jun 05 11:34:52 2018 +0200
@@ -171,21 +171,12 @@
}
}
-# Haystack configuration
-
-# Haystack only supports ElasticSearch 1.x
-# http://django-haystack.readthedocs.io/en/v2.5.1/installing_search_engines.html#elasticsearch
-
-HAYSTACK_CONNECTIONS = {
+ELASTICSEARCH_DSL={
'default': {
- 'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine',
- 'URL': 'http://127.0.0.1:9200/',
- 'INDEX_NAME': 'haystack',
+ 'hosts': 'localhost:9200'
},
}
-# HAYSTACK_SIGNAL_PROCESSOR = 'iconolab.search_indexes.signals.RevisionSignalProcessor'
-
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',