onadata.apps.viewer.management.commands package

Submodules

onadata.apps.viewer.management.commands.import module

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

Bases: django.core.management.base.BaseCommand

handle(*args, **kwargs)

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

help = 'Import ODK forms and instances.'

onadata.apps.viewer.management.commands.import_forms module

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

Bases: django.core.management.base.BaseCommand

handle(*args, **kwargs)

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

help = 'Import a folder of XForms for ODK.'

onadata.apps.viewer.management.commands.mark_start_times module

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

Bases: django.core.management.base.BaseCommand

handle(*args, **kwargs)

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

help = 'This is a one-time command to mark start times of old surveys.'

onadata.apps.viewer.management.commands.set_uuid_in_xml module

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

Bases: django.core.management.base.BaseCommand

handle(*args, **kwargs)

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

help = 'Insert UUID into XML of all existing XForms'

onadata.apps.viewer.management.commands.update_delete_from_mongo module

Module contents