submissions.management.commands.create_submissions module

class submissions.management.commands.create_submissions.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

help = 'Create random Submission objects by using the factories.'
add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

handle(*args, **kwargs)[source]

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

create_submissions(n, status='assigned')[source]