0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 00:17:06 +01:00

Added ElasticSearch backend to tests settings

This commit is contained in:
Karl Hobley 2014-02-20 21:59:54 +00:00
parent 576eb0830e
commit 28a77c6071

View File

@ -62,7 +62,16 @@ if not settings.configured:
'wagtail.wagtailsearch', 'wagtail.wagtailsearch',
'wagtail.wagtailredirects', 'wagtail.wagtailredirects',
'wagtail.tests', 'wagtail.tests',
] ],
WAGTAILSEARCH_BACKENDS={
'default': {
'BACKEND': 'wagtail.wagtailsearch.backends.db.DBSearch',
},
'elasticsearch': {
'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch',
'RUN_TESTS': True,
}
}
) )