fobi.management.commands package

Submodules

fobi.management.commands.fobi_find_broken_entries module

class fobi.management.commands.fobi_find_broken_entries.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

Find the broken plugin records in the database:

  • fobi.models.FormElementEntry

  • fobi.models.FormHandlerEntry

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

Handle.

fobi.management.commands.fobi_sync_plugins module

class fobi.management.commands.fobi_sync_plugins.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

Adds the missing plugins to database.

This command shall be ran every time a developer adds a new plugin. The following plugins are affected:

  • fobi.models.FormElementPlugin

  • fobi.models.FormHandlerPlugin

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

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

Handle.

fobi.management.commands.fobi_update_plugin_data module

class fobi.management.commands.fobi_update_plugin_data.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

Updates the plugin data for all entries of all users.

Rules for update are specified in the plugin itself.

This command shall be ran if significant changes have been made to the system for which the data shall be updated.

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

Handle.

Module contents