openedx.features.survey_report.management.commands package#

Submodules#

openedx.features.survey_report.management.commands.generate_report module#

CLI command to generate survey report.

class openedx.features.survey_report.management.commands.generate_report.Command(stdout=None, stderr=None, no_color=False, force_color=False)#

Bases: BaseCommand

Management command to generate a new survey report with non-sensitive data.

add_arguments(parser)#

Entry point for subclassed commands to add custom arguments.

handle(*_args, **options)#

The actual logic of the command. Subclasses must implement this method.

help = '\n        This command will create a new survey report using some\n        models to get:\n        - Total number of courses offered\n        - Currently active learners\n        ...\n        learners ever registered, and generated certificates.\n        '#

Module contents#