Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
94d3a73a
Commit
94d3a73a
authored
Dec 18, 2013
by
Don Mitchell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1982 from edx/dhm/doc_store_config
Move default DOC_STORE_CONFIG to common
parents
7925ca1e
5f251797
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
14 deletions
+6
-14
cms/envs/common.py
+1
-1
cms/envs/dev.py
+0
-6
lms/envs/cms/dev.py
+0
-6
lms/envs/common.py
+5
-1
No files found.
cms/envs/common.py
View file @
94d3a73a
...
...
@@ -25,7 +25,7 @@ Longer TODO:
import
sys
import
lms.envs.common
from
lms.envs.common
import
USE_TZ
,
TECH_SUPPORT_EMAIL
,
PLATFORM_NAME
,
BUGS_EMAIL
from
lms.envs.common
import
USE_TZ
,
TECH_SUPPORT_EMAIL
,
PLATFORM_NAME
,
BUGS_EMAIL
,
DOC_STORE_CONFIG
from
path
import
path
from
lms.lib.xblock.mixin
import
LmsBlockMixin
...
...
cms/envs/dev.py
View file @
94d3a73a
...
...
@@ -21,12 +21,6 @@ LOGGING = get_logger_config(ENV_ROOT / "log",
dev_env
=
True
,
debug
=
True
)
DOC_STORE_CONFIG
=
{
'host'
:
'localhost'
,
'db'
:
'xmodule'
,
'collection'
:
'modulestore'
,
}
modulestore_options
=
{
'default_class'
:
'xmodule.raw_module.RawDescriptor'
,
'fs_root'
:
GITHUB_REPO_ROOT
,
...
...
lms/envs/cms/dev.py
View file @
94d3a73a
...
...
@@ -22,12 +22,6 @@ FEATURES['ENABLE_LMS_MIGRATION'] = False
META_UNIVERSITIES
=
{}
DOC_STORE_CONFIG
=
{
'host'
:
'localhost'
,
'db'
:
'xmodule'
,
'collection'
:
'modulestore'
,
}
modulestore_options
=
{
'default_class'
:
'xmodule.raw_module.RawDescriptor'
,
'fs_root'
:
DATA_DIR
,
...
...
lms/envs/common.py
View file @
94d3a73a
...
...
@@ -390,7 +390,11 @@ MODULESTORE = {
}
}
CONTENTSTORE
=
None
DOC_STORE_CONFIG
=
None
DOC_STORE_CONFIG
=
{
'host'
:
'localhost'
,
'db'
:
'xmodule'
,
'collection'
:
'modulestore'
,
}
# Should we initialize the modulestores at startup, or wait until they are
# needed?
...
...
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