Browse Source

Add WhooshEngine by default

Kasper Kronborg Isager 12 years ago
parent
commit
3ab5d8f060
1 changed files with 2 additions and 2 deletions
  1. 2 2
      deployment/settings.py

+ 2 - 2
deployment/settings.py

@@ -55,7 +55,7 @@ CACHES = {
 # http://django-haystack.readthedocs.org/en/latest/tutorial.html#modify-your-settings-py
 # http://django-haystack.readthedocs.org/en/latest/tutorial.html#modify-your-settings-py
 HAYSTACK_CONNECTIONS = {
 HAYSTACK_CONNECTIONS = {
     'default': {
     'default': {
-        'ENGINE': 'haystack.backends.whoosh_backend.',
+        'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', # Misago uses WhooshEngine by default
     },
     },
 }
 }
 
 
@@ -171,4 +171,4 @@ if 'test' in sys.argv:
     CACHES['default'] = {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'}
     CACHES['default'] = {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'}
     SKIP_SOUTH_TESTS = True
     SKIP_SOUTH_TESTS = True
     MEDIA_URL = "http://media.domain.com/"
     MEDIA_URL = "http://media.domain.com/"
-    HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',},}
+    HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',},}