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