EDUCATOR-565 | Add POLICY_CHANGE_GRADES_ROUTING_KEY, fix errors in compute_all_grades_for_course circuitry.

This commit is contained in:
Alex Dusenbery
2017-06-21 15:29:22 -04:00
committed by Alex Dusenbery
parent b14b951122
commit 6dfa47b2fc
11 changed files with 69 additions and 36 deletions

View File

@@ -265,7 +265,7 @@ def _grading_event_and_signal(course_key, user_id):
"event_transaction_type": GRADING_POLICY_CHANGED_EVENT_TYPE,
}
tracker.emit(name, data)
GRADING_POLICY_CHANGED.send(sender=CourseGradingModel, user_id=user_id, course_id=course_key)
GRADING_POLICY_CHANGED.send(sender=CourseGradingModel, user_id=user_id, course_key=course_key)
def hash_grading_policy(grading_policy):