akvo.rsr.management.commands.migrate_external_projects module

class akvo.rsr.management.commands.migrate_external_projects.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.

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

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

help = 'Move external projects in RelatedProjects to the ExternalProject model'
class akvo.rsr.management.commands.migrate_external_projects.Migrator(stdout: TextIO, stderr: TextIO, apply: bool)[source]

Bases: object

err(msg: str)[source]
migrate()[source]
out(msg: str)[source]
run()[source]