Commit 807299a8 by Brandon DeRosier

CRI-40 Don't assume user in request context when grading

parent 97a11c11
......@@ -306,7 +306,7 @@ def grade(student, request, course, keep_raw_scores=False, field_data_cache=None
grade_summary = _grade(student, request, course, keep_raw_scores, field_data_cache, scores_client)
responses = GRADES_UPDATED.send_robust(
sender=None,
username=request.user.username,
username=student.username,
grade_summary=grade_summary,
course_key=course.id,
deadline=course.end
......
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