Commit 86c20003 by Stephen Sanchez

Merge pull request #254 from edx/sanchez/TIM-415-Enable-Turbo-Grading

Updating the peer assessment mixin to allow continued grading at any tim...
parents fd435437 5f5f5f93
...@@ -142,15 +142,12 @@ class PeerAssessmentMixin(object): ...@@ -142,15 +142,12 @@ class PeerAssessmentMixin(object):
"estimated_time": "20 minutes" # TODO: Need to configure this. "estimated_time": "20 minutes" # TODO: Need to configure this.
} }
submissions_closed, __, __, __ = self.is_closed(step="submission")
workflow = self.get_workflow_info() workflow = self.get_workflow_info()
if workflow is None: if workflow is None:
return self.render_assessment(path, context_dict) return self.render_assessment(path, context_dict)
continue_grading = ( continue_grading = (
data.params.get('continue_grading', False) data.params.get('continue_grading', False)
and workflow["status_details"]["peer"]["complete"] and workflow["status_details"]["peer"]["complete"]
and submissions_closed
) )
student_item = self.get_student_item_dict() student_item = self.get_student_item_dict()
......
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