Commit cffafb56 authored by Okhin's avatar Okhin

Setup of haystack to use whoosh

parent a3bbe5db
......@@ -202,6 +202,14 @@ MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
DEFAULT_FROM_EMAIL = 'nnmon@nnmon.lqdn.fr'
# HAYSTACK CONFIGURATION
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
'PATH': os.path.join(os.path.dirnam(__file__), 'whoosh_index'),
},
}
try:
from local_settings import *
except:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment