5322daa53d89bb052eeef9f612706adfc59b1f5d
[auf_framonde.git] / project / settings / 60-haystack.py
1 INSTALLED_APPS += (
2 'project.aldryn_search',
3 'haystack',
4 'spurl',
5 )
6
7 HAYSTACK_CONNECTIONS = {
8 'default': {
9 'ENGINE': 'xapian_backend.XapianEngine',
10 'PATH': os.path.join(PROJECT_ROOT, 'xapian_index')
11 },
12 }
13
14 HAYSTACK_XAPIAN_LANGUAGE = "french"
15
16 #HAYSTACK_ROUTERS = ['project.aldryn_search.router.LanguageRouter',]
17 ALDRYN_SEARCH_INDEX_BASE_CLASS = 'project.framonde.search_indexes.AufIndex'