management.management.commands.init_notificationsΒΆ

Django management command to initialize notification scheduling.

Module ContentsΒΆ

class management.management.commands.init_notifications.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]ΒΆ

Bases: django.core.management.base.BaseCommand

Initialize notification scheduling in Django-Q2.

help = 'Initialize the notification check scheduling via Django-Q2'[source]ΒΆ
add_arguments(parser)[source]ΒΆ

Add command arguments.

Parameters:

parser (Any) – The argument parser.

Return type:

None

handle(*args, **kwargs)[source]ΒΆ

Entrypoint for the command.

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

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

Return type:

None