ECOM-1590 adding new field in advance_settings.

This commit is contained in:
Awais
2015-05-18 18:50:20 +05:00
parent 930ccd6332
commit 3da312b224
2 changed files with 11 additions and 0 deletions

View File

@@ -856,6 +856,16 @@ class CourseFields(object):
scope=Scope.settings
)
minimum_grade_credit = Float(
display_name=_("Minimum Grade for Credit"),
help=_(
"The minimum grade that a learner must earn to receive credit in the course, "
"as a decimal between 0.0 and 1.0. For example, for 75%, enter 0.75."
),
default=0.8,
scope=Scope.settings,
)
class CourseModule(CourseFields, SequenceModule): # pylint: disable=abstract-method
"""

View File

@@ -199,4 +199,5 @@ class AdvancedSettingsPage(CoursePage):
'annotation_storage_url',
'social_sharing_url',
'teams_configuration',
'minimum_grade_credit',
]