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