1
0
mirror of https://github.com/fspc/workstand.git synced 2025-02-23 09:13:23 -05:00

Add haystack to django.

This commit is contained in:
Drew Larson 2016-06-01 21:05:02 -06:00
parent 5916069c41
commit 8036e47c61

View File

@ -29,7 +29,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'haystack',
'webpack_loader',
'compressor',
@ -142,4 +142,11 @@ WEBPACK_LOADER = {
'POLL_INTERVAL': 0.1,
'IGNORE': ['.+\.hot-update.js', '.+\.map']
}
}
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
'PATH': os.path.join(os.path.dirname(__file__), 'whoosh_index'),
},
}