onadata.apps.restservice.management.commands package

Submodules

onadata.apps.restservice.management.commands.textit_v1_to_v2 module

textit_v1_to_v2 - converts RapidPro/textit urls from v1 to v2 urls.

class onadata.apps.restservice.management.commands.textit_v1_to_v2.Command(stdout=None, stderr=None, no_color=False, force_color=False)

Bases: BaseCommand

Migrate TextIt/RapidPro v1 URLS to v2 URLS.

add_arguments(parser)

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)

Migrate TextIt/RapidPro v1 URLS to v2 URLS.

help = 'Migrate TextIt/RapidPro v1 URLS to v2 URLS.'

Module contents