xapian-haystack/tests/xapian_settings.py
2019-01-17 17:49:22 +01:00

18 lines
416 B
Python
Executable file

import os
from .settings import *
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.admin',
'django.contrib.contenttypes',
'test_haystack.core',
'test_haystack.xapian_tests',
]
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.xapian_backend.XapianEngine',
'PATH': os.path.join('tmp', 'test_xapian_query'),
'INCLUDE_SPELLING': True,
}
}