... have to wait for an email to send before their page finishes loading. Django's Tasks framework makes it easy to define and enqueue such work. It does not provide a worker mechanism to run Tasks. The actual execution must be handled by infrastructure out ... diate execution ¶ This is the default backend if another is not specified in your settings file. The ImmediateBackend runs enqueued Tasks immediately, rather than in the background. This allows background Task functionality to be slowly added to an appl ... s, to bypass the need to run a real background worker in your tests. ダミーバックエンド ¶ The DummyBackend doesn't execute enqueued Tasks at all, instead storing results for later use. Task results will forever remain in the READY state. This backend is ... ... have to wait for an email to send before their page finishes loading. Django's Tasks framework makes it easy to define and enqueue such work. It does not provide a worker mechanism to run Tasks. The actual execution must be handled by infrastructure out ... diate execution ¶ This is the default backend if another is not specified in your settings file. The ImmediateBackend runs enqueued Tasks immediately, rather than in the background. This allows background Task functionality to be slowly added to an appl ... s, to bypass the need to run a real background worker in your tests. ダミーバックエンド ¶ The DummyBackend doesn't execute enqueued Tasks at all, instead storing results for later use. Task results will forever remain in the READY state. This backend is ... ... backend must have supports_priority set to True to use this feature. backend ¶ The alias of the backend the Task should be enqueued to. This must match a backend defined in BACKEND . queue_name ¶ The name of the queue the Task will be enqueued on to. De ... g allows modifying the following attributes: priority backend queue_name run_after See modifying Tasks for usage examples. enqueue ( * args , ** kwargs ) [ソース] ¶ Enqueues the Task to the Task backend for later execution. Arguments are passed to the T ... nd preserve their type after the round-trip. If the Task is not valid according to the backend, InvalidTask is raised. See enqueueing Tasks for usage examples. aenqueue ( * args , ** kwargs ) ¶ The async variant of enqueue . get_result ( result_id ) [ソ ... ... backend must have supports_priority set to True to use this feature. backend ¶ The alias of the backend the Task should be enqueued to. This must match a backend defined in BACKEND . queue_name ¶ The name of the queue the Task will be enqueued on to. De ... g allows modifying the following attributes: priority backend queue_name run_after See modifying Tasks for usage examples. enqueue ( * args , ** kwargs ) [ソース] ¶ Enqueues the Task to the Task backend for later execution. Arguments are passed to the T ... nd preserve their type after the round-trip. If the Task is not valid according to the backend, InvalidTask is raised. See enqueueing Tasks for usage examples. aenqueue ( * args , ** kwargs ) ¶ The async variant of enqueue . get_result ( result_id ) [ソ ... ... il_users ( emails , subject , message ): return send_mail ( subject , message , None , emails ) Once defined, tasks can be enqueued through a configured backend: email_users . enqueue ( emails = [ "user@example.com" ], subject = "You have a message" , m ... ... il_users ( emails , subject , message ): return send_mail ( subject , message , None , emails ) Once defined, tasks can be enqueued through a configured backend: email_users . enqueue ( emails = [ "user@example.com" ], subject = "You have a message" , m ... ... クラス) AdminUserCreationForm (django.contrib.auth.forms のクラス) aearliest() (django.db.models.query.QuerySet モジュール) aenqueue() (BaseTaskBackend のメソッド) (Task のメソッド) aexists() (django.db.models.query.QuerySet モジュール) aexplain() (django ... asks.backends.dummy module django.tasks.backends.immediate module django.tasks.exceptions module django.tasks.signals.task_enqueued (組み込み変数) django.tasks.signals.task_finished (組み込み変数) django.tasks.signals.task_started (組み込み変数) django. ... (Page のメソッド) endswith field lookup type Engine (django.template のクラス) engines (django.template.loader モジュール) enqueue() (BaseTaskBackend のメソッド) (Task のメソッド) enqueued_at (TaskResult の属性) ensure_csrf_cookie() (django.views.decora ... ... クラス) AdminUserCreationForm (django.contrib.auth.forms のクラス) aearliest() (django.db.models.query.QuerySet モジュール) aenqueue() (BaseTaskBackend のメソッド) (Task のメソッド) aexists() (django.db.models.query.QuerySet モジュール) aexplain() (django ... asks.backends.dummy module django.tasks.backends.immediate module django.tasks.exceptions module django.tasks.signals.task_enqueued (組み込み変数) django.tasks.signals.task_finished (組み込み変数) django.tasks.signals.task_started (組み込み変数) django. ... (Page のメソッド) endswith field lookup type Engine (django.template のクラス) engines (django.template.loader モジュール) enqueue() (BaseTaskBackend のメソッド) (Task のメソッド) enqueued_at (TaskResult の属性) ensure_csrf_cookie() (django.views.decora ... 2026年10月08日