celery.contrib.django.task
Added in version 5.4.
- classcelery.contrib.django.task.DjangoTask
-
Extend the base
Taskfor Django.Provide a nicer API to trigger tasks at the end of the DB transaction.
- apply_async_on_commit(*args, **kwargs) None
-
Call
apply_async()with Django’son_commit().
- delay_on_commit(*args, **kwargs) None
-
Call
delay()with Django’son_commit().
Copyright © 2017-2026 Asif Saif Uddin, core team & contributors. All rights reserved.
Celery is licensed under The BSD License (3 Clause, also known as the new BSD license). The license is an OSI approved Open Source license and is GPL-compatible.
https://docs.celeryq.dev/en/stable/reference/celery.contrib.django.task.html