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
c7061a02
Commit
c7061a02
authored
Apr 04, 2013
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a command line utility to walk through the course and find common errors
parent
ac010795
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cms/djangoapps/contentstore/management/commands/check_course.py
+3
-3
No files found.
cms/djangoapps/contentstore/management/commands/check_course.py
View file @
c7061a02
...
@@ -19,12 +19,12 @@ class Command(BaseCommand):
...
@@ -19,12 +19,12 @@ class Command(BaseCommand):
loc
=
CourseDescriptor
.
id_to_location
(
loc_str
)
loc
=
CourseDescriptor
.
id_to_location
(
loc_str
)
m
s
=
modulestore
()
m
odulestore
=
modulestore
()
# setup a request cache so we don't throttle the DB with all the metadata inheritance requests
# setup a request cache so we don't throttle the DB with all the metadata inheritance requests
m
s
.
request_cache
=
RequestCache
.
get_request_cache
()
m
odulestore
.
request_cache
=
RequestCache
.
get_request_cache
()
course
=
m
s
.
get_item
(
loc
,
depth
=
3
)
course
=
m
odulestore
.
get_item
(
loc
,
depth
=
3
)
err_cnt
=
0
err_cnt
=
0
def
_xlint_metadata
(
module
):
def
_xlint_metadata
(
module
):
...
...
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