Commit fcce3ce9 by benjaoming

cleanup

parent 5ff6fac9
from testproject.settings import * from testproject.settings import *
from testproject.settings.local import * from testproject.settings.local import *
#Django Haystack
INSTALLED_APPS += ['sendfile'] INSTALLED_APPS += ['sendfile']
WIKI_ATTACHMENTS_USE_SENDFILE = True WIKI_ATTACHMENTS_USE_SENDFILE = True
SENDFILE_BACKEND = 'sendfile.backends.development' SENDFILE_BACKEND = 'sendfile.backends.development'
#SENDFILE_URL = '/protected' #SENDFILE_URL = None #Not needed
#SENDFILE_ROOT = None #Not needed
# Whoosh backend is completely broken
# https://github.com/toastdriven/django-haystack/issues/522
# https://github.com/toastdriven/django-haystack/issues/382
# https://github.com/toastdriven/django-haystack/issues/447
#HAYSTACK_CONNECTIONS = {
# 'default': {
# 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
# 'PATH': os.path.join(PROJECT_PATH, 'whoosh_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