Skip to content

Glossary: Django Beyond the Basics

.delay()

Also written: delay

A method on a Celery task that queues it for a worker instead of running it now. You pass plain data such as an order id, as in `send_order_confirmation.delay(13)`.

Where the book teaches it

Related terms

@shared_taskBackground task, task queue