Skip to content

Commit b6d568d

Browse files
committed
Merge pull request django-haystack#556 from h3/master
Updated to 'xapian_backend.XapianEngine' docs & example
2 parents 761d4ac + 827d7ca commit b6d568d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/tutorial.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Example::
162162
import os
163163
HAYSTACK_CONNECTIONS = {
164164
'default': {
165-
'ENGINE': 'haystack.backends.xapian_backend.XapianEngine',
165+
'ENGINE': 'xapian_backend.XapianEngine',
166166
'PATH': os.path.join(os.path.dirname(__file__), 'xapian_index'),
167167
},
168168
}

example_project/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
'xapian': {
2929
# For Xapian (requires the third-party install):
30-
'ENGINE': 'xapian_haystack.xapian_backend.XapianEngine',
30+
'ENGINE': 'xapian_backend.XapianEngine',
3131
'PATH': os.path.join(os.path.dirname(__file__), 'xapian_index'),
3232
}
3333
}

0 commit comments

Comments
 (0)