physics_workload.app.management.commands.fixtaskfirsttime

Classes

Command

Initialises the staff workloads in the database.

Module Contents

class physics_workload.app.management.commands.fixtaskfirsttime.Command(stdout=None, stderr=None, no_color=False, force_color=False)

Bases: django.core.management.base.BaseCommand

Initialises the staff workloads in the database.

help = "Fixes imported tasks where the 'first time' value is not a bonus added, but the flat value."
handle(*args, **options)

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