WL-399 Course Details List Fields

This commit is contained in:
asadiqbal
2016-04-20 20:44:11 +05:00
committed by Douglas Hall
parent a13e531042
commit 59f70cf85d
15 changed files with 645 additions and 20 deletions

View File

@@ -794,6 +794,36 @@ class CourseFields(object):
scope=Scope.settings
)
learning_info = List(
display_name=_("Course Learning Information"),
help=_("Specify what student can learn from the course."),
default=[],
scope=Scope.settings
)
"""
instructor_info dict structure:
{
"instructors": [
{
"name": "",
"title": "",
"organization": "",
"image": "",
"bio": ""
}
]
}
"""
instructor_info = Dict(
display_name=_("Course Instructor"),
help=_("Enter the details for Course Instructor"),
default={
"instructors": []
},
scope=Scope.settings
)
class CourseModule(CourseFields, SequenceModule): # pylint: disable=abstract-method
"""