onadata.apps.restservice.management.commands package

Submodules

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

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

Bases: django.core.management.base.BaseCommand

add_arguments(parser)

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)

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

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

Module contents