akvo.rsr.management.commands.remove_default_periods module

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

Bases: BaseCommand

args = '<single period hierarchy ID>'
handle(*args, **options)[source]

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

help = 'Sets Indicator.default_periods to False for all indicators of projects in named single period hierarchy'