File: xapian_settings.py

package info (click to toggle)
python-xapian-haystack 2.1.1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 352 kB
  • sloc: python: 2,139; sh: 33; makefile: 4
file content (16 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os
from .settings import *

INSTALLED_APPS = [
    '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,
    }
}