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
3da312b2
Commit
3da312b2
authored
May 18, 2015
by
Awais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-1590 adding new field in advance_settings.
parent
930ccd63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
common/lib/xmodule/xmodule/course_module.py
+10
-0
common/test/acceptance/pages/studio/settings_advanced.py
+1
-0
No files found.
common/lib/xmodule/xmodule/course_module.py
View file @
3da312b2
...
...
@@ -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
"""
...
...
common/test/acceptance/pages/studio/settings_advanced.py
View file @
3da312b2
...
...
@@ -199,4 +199,5 @@ class AdvancedSettingsPage(CoursePage):
'annotation_storage_url'
,
'social_sharing_url'
,
'teams_configuration'
,
'minimum_grade_credit'
,
]
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