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
7aa3ee8d
Commit
7aa3ee8d
authored
Dec 22, 2015
by
John Eskew
Committed by
Clinton Blackburn
May 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused xml_source_dirs from mixed modulestore config.
parent
39ac2579
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
common/lib/xmodule/xmodule/modulestore/tests/django_utils.py
+3
-8
No files found.
common/lib/xmodule/xmodule/modulestore/tests/django_utils.py
View file @
7aa3ee8d
...
...
@@ -32,7 +32,7 @@ class StoreConstructors(object):
draft
,
split
=
range
(
2
)
def
mixed_store_config
(
data_dir
,
mappings
,
xml_source_dirs
=
None
,
store_order
=
None
):
def
mixed_store_config
(
data_dir
,
mappings
,
store_order
=
None
):
"""
Return a `MixedModuleStore` configuration, which provides
access to both Mongo-backed courses.
...
...
@@ -51,13 +51,8 @@ def mixed_store_config(data_dir, mappings, xml_source_dirs=None, store_order=Non
Keyword Args:
xml_source_dirs (list): The directories containing XML courses to load from disk.
note: For the courses to be loaded into the XML modulestore and accessible do the following:
* xml_source_dirs should be the list of directories (relative to data_dir)
containing the courses you want to load
* mappings should be configured, pointing the xml courses to the xml modulestore
store_order (list): List of StoreConstructors providing order of modulestores
to use in creating courses.
"""
if
store_order
is
None
:
store_order
=
[
StoreConstructors
.
draft
,
StoreConstructors
.
split
]
...
...
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