management.management.commands.execute_all_notificationsΒΆ

This module contains a Django management command to schedule all notification checks via Django-Q2.

Module ContentsΒΆ

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

Bases: django.core.management.base.BaseCommand

A Django management command to immediately execute all notifications and schedule the next check.

help = 'Immediately run all notification checks and schedule the next execution 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