Commit c4dc7376 by John Eskew Committed by Don Mitchell

Add bulk_operations() wrapper around course progress view.

parent c8898b0a
...@@ -805,8 +805,9 @@ def progress(request, course_id, student_id=None): ...@@ -805,8 +805,9 @@ def progress(request, course_id, student_id=None):
course_key = SlashSeparatedCourseKey.from_deprecated_string(course_id) course_key = SlashSeparatedCourseKey.from_deprecated_string(course_id)
with grades.manual_transaction(): with modulestore().bulk_operations(course_key):
return _progress(request, course_key, student_id) with grades.manual_transaction():
return _progress(request, course_key, student_id)
def _progress(request, course_key, student_id): def _progress(request, course_key, student_id):
......
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