Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-data-api
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
edx
edx-analytics-data-api
Commits
5b5c792d
Commit
5b5c792d
authored
Nov 17, 2015
by
Dennis Jen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #86 from edx/dsjen/es-config
Added settings for elasticsearch.
parents
47027f71
0f43ca69
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
analyticsdataserver/settings/base.py
+6
-0
No files found.
analyticsdataserver/settings/base.py
View file @
5b5c792d
"""Common settings and globals."""
"""Common settings and globals."""
from
os
import
environ
from
os.path
import
abspath
,
basename
,
dirname
,
join
,
normpath
from
os.path
import
abspath
,
basename
,
dirname
,
join
,
normpath
from
sys
import
stderr
from
sys
import
stderr
...
@@ -50,6 +51,11 @@ DATABASES = {
...
@@ -50,6 +51,11 @@ DATABASES = {
}
}
########## END DATABASE CONFIGURATION
########## END DATABASE CONFIGURATION
########## ELASTICSEARCH CONFIGURATION
ELASTICSEARCH_LEARNERS_HOST
=
environ
.
get
(
'ELASTICSEARCH_LEARNERS_HOST'
,
None
)
ELASTICSEARCH_LEARNERS_INDEX
=
environ
.
get
(
'ELASTICSEARCH_LEARNERS_INDEX'
,
None
)
########## END ELASTICSEARCH CONFIGURATION
########## GENERAL CONFIGURATION
########## GENERAL CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#time-zone
# See: https://docs.djangoproject.com/en/dev/ref/settings/#time-zone
...
...
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