Commit 8c02f89efea92751427c35c0e9ab25333b7548a2

Authored by Gust
1 parent 83b509ca
Exists in workin_whoosh_temp

Add whoosh to test settings

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
tests/settings.py
@@ -32,8 +32,8 @@ LOGGING = { @@ -32,8 +32,8 @@ LOGGING = {
32 import os 32 import os
33 HAYSTACK_CONNECTIONS = { 33 HAYSTACK_CONNECTIONS = {
34 'default': { 34 'default': {
35 - 'ENGINE': 'haystack.backends.solr_backend.SolrEngine',  
36 - 'URL': 'http://127.0.0.1:8983/solr', 35 + 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
  36 + 'PATH': os.path.join(os.path.dirname(__file__), 'whoosh_index'),
37 }, 37 },
38 } 38 }
39 39