ferrosoft.apps.dataimport.management.commands package

Submodules

ferrosoft.apps.dataimport.management.commands.dataimport_csv module

class ferrosoft.apps.dataimport.management.commands.dataimport_csv.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: TenantAwareCommand

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

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

Execute command logic for the active tenant context.

Called by handle after activating the tenant database connection. self.tenant holds the active Tenant instance (or None when running against the master database).

Parameters:
  • *args – Positional arguments forwarded from the CLI parser.

  • **options – Keyword arguments forwarded from the CLI parser.

ferrosoft.apps.dataimport.management.commands.dataimport_gendoc module

class ferrosoft.apps.dataimport.management.commands.dataimport_gendoc.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: TenantAwareCommand, BaseCommand

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

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

Execute command logic for the active tenant context.

Called by handle after activating the tenant database connection. self.tenant holds the active Tenant instance (or None when running against the master database).

Parameters:
  • *args – Positional arguments forwarded from the CLI parser.

  • **options – Keyword arguments forwarded from the CLI parser.

ferrosoft.apps.dataimport.management.commands.dataimport_json module

class ferrosoft.apps.dataimport.management.commands.dataimport_json.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: TenantAwareCommand, BaseCommand

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

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

Execute command logic for the active tenant context.

Called by handle after activating the tenant database connection. self.tenant holds the active Tenant instance (or None when running against the master database).

Parameters:
  • *args – Positional arguments forwarded from the CLI parser.

  • **options – Keyword arguments forwarded from the CLI parser.

ferrosoft.apps.dataimport.management.commands.dataimport_settings module

class ferrosoft.apps.dataimport.management.commands.dataimport_settings.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: TenantAwareCommand, BaseCommand

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

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

Execute command logic for the active tenant context.

Called by handle after activating the tenant database connection. self.tenant holds the active Tenant instance (or None when running against the master database).

Parameters:
  • *args – Positional arguments forwarded from the CLI parser.

  • **options – Keyword arguments forwarded from the CLI parser.