Commit 22420adc by Jay Zoldak

Merge pull request #1594 from MITx/bug/dhm/course_update_js

Provide convenience converter of the grading policy but don't save it on
parents ecb136e5 0c4a5256
...@@ -317,6 +317,10 @@ class CourseDescriptor(SequenceDescriptor): ...@@ -317,6 +317,10 @@ class CourseDescriptor(SequenceDescriptor):
self.metadata['enrollment_end'] = stringify_time(value) self.metadata['enrollment_end'] = stringify_time(value)
@property @property
def grader(self):
return grader_from_conf(self.raw_grader)
@property
def raw_grader(self): def raw_grader(self):
return self._grading_policy['RAW_GRADER'] 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