Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-wiki
Commits
fcce3ce9
Commit
fcce3ce9
authored
Jul 16, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
5ff6fac9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
14 deletions
+2
-14
testproject/testproject/settings/sendfile.py
+2
-14
No files found.
testproject/testproject/settings/sendfile.py
View file @
fcce3ce9
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'),
# },
#}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment