lms.djangoapps.certificates.management.commands package#
Submodules#
lms.djangoapps.certificates.management.commands.cert_generation module#
Management command to generate course certificates for one or more users in a given course run.
- class lms.djangoapps.certificates.management.commands.cert_generation.Command(stdout=None, stderr=None, no_color=False, force_color=False)#
Bases:
BaseCommandManagement command to generate course certificates for one or more users in a given course run.
Example usage: ./manage.py lms cert_generation -u 123 456 -c course-v1:edX+DemoX+Demo_Course
- add_arguments(parser)#
Entry point for subclassed commands to add custom arguments.
- get_args_from_database()#
Returns an options dictionary from the current CertificateGenerationCommandConfiguration model.
- handle(*args, **options)#
The actual logic of the command. Subclasses must implement this method.
- help = '\n Generate course certificates for one or more users in a given course run.\n '#
lms.djangoapps.certificates.management.commands.regenerate_noidv_cert module#
Management command to regenerate unverified certificates when a course transitions to honor code.
- class lms.djangoapps.certificates.management.commands.regenerate_noidv_cert.Command(stdout=None, stderr=None, no_color=False, force_color=False)#
Bases:
BaseCommandManagement command to regenerate unverified certificates when a course transitions to honor code.
- 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.