mirror of
https://github.com/Hopiu/xapian-haystack.git
synced 2026-03-16 22:20:31 +00:00
16 lines
334 B
Python
16 lines
334 B
Python
import os
|
|
from django.conf import settings
|
|
|
|
DATABASE_ENGINE = 'sqlite3'
|
|
DATABASE_NAME = 'xapian_tests.db'
|
|
|
|
INSTALLED_APPS = (
|
|
'haystack',
|
|
'xapian_haystack.tests',
|
|
)
|
|
|
|
ROOT_URLCONF = 'tests.urls'
|
|
|
|
HAYSTACK_SEARCH_ENGINE = 'xapian'
|
|
HAYSTACK_XAPIAN_PATH = os.path.join('tmp', 'test_xapian_query')
|
|
HAYSTACK_INCLUDE_SPELLING = True
|