Commit 0c4a5256 by Don Mitchell

Provide convenience converter of the grading policy but don't save it on

the object.
parent 020e1e94
......@@ -317,6 +317,10 @@ class CourseDescriptor(SequenceDescriptor):
self.metadata['enrollment_end'] = stringify_time(value)
@property
def grader(self):
return grader_from_conf(self.raw_grader)
@property
def raw_grader(self):
return self._grading_policy['RAW_GRADER']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment