akvo.rsr.management.commands.fix_utz_periods module

class akvo.rsr.management.commands.fix_utz_periods.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: BaseCommand

args = ''
handle(*args, **options)[source]

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

help = 'Script for fixing UTZ results data'
akvo.rsr.management.commands.fix_utz_periods.create_periods()[source]

Create new periods, based on the rules defined by the partner.

akvo.rsr.management.commands.fix_utz_periods.delete_periods()[source]

Delete the periods which were incorrectly created due to a bug.