Commit 2a4ab7a6101438f85774e521fc858ea520571443
Committed by
Sergio Oliveira
1 parent
d8f81cc8
Exists in
master
and in
31 other branches
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 | 32 | import os |
33 | 33 | HAYSTACK_CONNECTIONS = { |
34 | 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 | ... | ... |