Adds ENABLE_SUBSECTION_GRADES_SAVED feature flag to both lms and cms. Also installs the wiring that will allow robust grades to be used for courses that enable it. This functionality is still gated by the feature flag and should not be used until the remaining robust grades work is finished.
12 lines
268 B
Python
12 lines
268 B
Python
"""
|
|
Progress Summary of a learner's course grades.
|
|
"""
|
|
from .new.course_grade import CourseGradeFactory
|
|
|
|
|
|
def summary(student, course):
|
|
"""
|
|
Returns the CourseGrade for the given course and student.
|
|
"""
|
|
return CourseGradeFactory(student).create(course)
|