akvo.rsr.management.commands.update_custom_fields module

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

Bases: BaseCommand

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

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

help = "\n        Update the custom fields for projects of the organisations listed in the args.\n        Fields are only updated if there is a matching organisation custom field where the match is\n        determined by equality of the 'name' and 'section' fields.\n    "