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
65c2fd5f
Commit
65c2fd5f
authored
Mar 29, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some post-merge errors
parent
20bbf75f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
cms/djangoapps/contentstore/views.py
+2
-1
cms/djangoapps/models/settings/course_metadata.py
+2
-2
No files found.
cms/djangoapps/contentstore/views.py
View file @
65c2fd5f
...
...
@@ -73,7 +73,8 @@ log = logging.getLogger(__name__)
COMPONENT_TYPES
=
[
'customtag'
,
'discussion'
,
'html'
,
'problem'
,
'video'
]
ADVANCED_COMPONENT_TYPES
=
[
'annotatable'
,
'combinedopenended'
,
'peergrading'
]
OPEN_ENDED_COMPONENT_TYPES
=
[
"combinedopenended"
,
"peergrading"
]
ADVANCED_COMPONENT_TYPES
=
[
'annotatable'
]
+
OPEN_ENDED_COMPONENT_TYPES
ADVANCED_COMPONENT_CATEGORY
=
'advanced'
ADVANCED_COMPONENT_POLICY_KEY
=
'advanced_modules'
...
...
cms/djangoapps/models/settings/course_metadata.py
View file @
65c2fd5f
...
...
@@ -4,7 +4,7 @@ from xmodule.x_module import XModuleDescriptor
from
xmodule.modulestore.inheritance
import
own_metadata
from
xblock.core
import
Scope
from
xmodule.course_module
import
CourseDescriptor
import
copy
class
CourseMetadata
(
object
):
'''
...
...
@@ -39,7 +39,7 @@ class CourseMetadata(object):
return
course
@classmethod
def
update_from_json
(
cls
,
course_location
,
jsondict
):
def
update_from_json
(
cls
,
course_location
,
jsondict
,
filter_tabs
=
True
):
"""
Decode the json into CourseMetadata and save any changed attrs to the db.
...
...
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