commands.trustpoint_setup_notifications

This module contains a Django management command to generate setup related notifications.

Classes

Command

Django management command to set up initial Trustpoint notifications.

Module Contents

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

Bases: django.core.management.base.BaseCommand

Django management command to set up initial Trustpoint notifications.

This command initializes and sets up necessary notifications for Trustpoint.

help = 'Set up initial Trustpoint notifications.'[source]
handle(*args, **kwargs)[source]

Entrypoint for the command.

Parameters:
  • *args (Any) – Additional positional arguments.

  • **kwargs (dict[str, Any]) – Additional keyword arguments.

Return type:

None

_trustpoint_setup_notifications()[source]

Task to create initial setup notifications for a new Trustpoint instance.

This includes a welcome notification and links to the project’s GitHub repository and homepage.

Return type:

None