success_status=_("Your grade report is being generated! You can view the status of the generation task in the 'Pending Instructor Tasks' section.")
success_status=_("Your grade report is being generated! "
"You can view the status of the generation task in the 'Pending Instructor Tasks' section.")
returnJsonResponse({"status":success_status})
exceptAlreadyRunningError:
already_running_status=_("A grade report generation task is already in progress. Check the 'Pending Instructor Tasks' table for the status of the task. When completed, the report will be available for download in the table below.")
already_running_status=_("A grade report generation task is already in progress. "
"Check the 'Pending Instructor Tasks' table for the status of the task. "
"When completed, the report will be available for download in the table below.")