whoosh index in data
This commit is contained in:
@@ -66,7 +66,7 @@ for lang_code, lang in LANGUAGES:
|
||||
HAYSTACK_CONNECTIONS[lang_code] = {}
|
||||
HAYSTACK_CONNECTIONS[lang_code].update({
|
||||
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
|
||||
'PATH': os.path.join(BASE_DIR, 'whoosh', 'index', lang_code),
|
||||
'PATH': os.path.join(BASE_DIR, 'data', 'whoosh', 'index', lang_code),
|
||||
})
|
||||
|
||||
HAYSTACK_ROUTERS = ['aldryn_search.router.LanguageRouter', ]
|
||||
|
||||
Reference in New Issue
Block a user