21 lines
463 B
Python
Executable File
21 lines
463 B
Python
Executable File
import os
|
|
from .settings import *
|
|
|
|
INSTALLED_APPS = [
|
|
'django.contrib.auth',
|
|
'django.contrib.admin',
|
|
'django.contrib.contenttypes',
|
|
'django.contrib.messages',
|
|
'haystack',
|
|
'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,
|
|
}
|
|
}
|