Commit d6e9c548 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt

use DATA_DIR as base for xapian index

parent 79f0deec
......@@ -315,8 +315,7 @@ TAGS_TAGGABLE = (
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'xapian_backend.XapianEngine',
'PATH': os.path.join(
os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'xapian_index'),
'PATH': os.path.join(DATA_DIR, 'xapian_index'),
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment