akvo.rsr.management.commands.funds_needed module

class akvo.rsr.management.commands.funds_needed.Command(*args, **kwargs)[source]

Bases: BaseCommand

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

get_projects()[source]
handle(*args, **options)[source]

Walk through all projects and find projects where the needs funding is in between 0 and the provided decimal. Print these projects, and set the needs_funding field to 0 if the –do option is supplied.

help = 'Checks all projects with a funding between 0 and a specified value'
print_projects()[source]