akvo.rsr.management.commands.cleanup_indicator_periods module
- class akvo.rsr.management.commands.cleanup_indicator_periods.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]
Bases:
BaseCommand
- add_arguments(parser: ArgumentParser)[source]
Entry point for subclassed commands to add custom arguments.
- static get_orphans() QuerySet [source]
Leftover periods from when parent periods were deleted but the children stayed
- handle(*args, **options)[source]
The actual logic of the command. Subclasses must implement this method.
- help = 'Find and delete problematic indicator periods'