lms.djangoapps.user_tours.management.commands package#
Submodules#
lms.djangoapps.user_tours.management.commands.backpopulate_user_tours module#
Management command to backpopulate User Tours.
- class lms.djangoapps.user_tours.management.commands.backpopulate_user_tours.Command(stdout=None, stderr=None, no_color=False, force_color=False)#
Bases:
BaseCommand- Example usage:
$ ./manage.py lms backpopulate_user_tours
- add_arguments(parser)#
Entry point for subclassed commands to add custom arguments.
- handle(*args, **options)#
Backpopulates UserTour objects for all existing users who don’t already have a UserTour.
If the user has any prior enrollments, we will treat them as an existing user, otherwise they will receive a new user treatment.
- help = 'Creates or updates a row in the UserTour table for all users in the platform.'#