mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
parent
f9a1da1c06
commit
52784a83ce
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ Sometimes you need to perform an action related to the current database
|
|||
transaction, but only if the transaction successfully commits. Examples might
|
||||
include a `Celery`_ task, an email notification, or a cache invalidation.
|
||||
|
||||
.. _Celery: http://www.celeryproject.org/
|
||||
.. _Celery: https://pypi.org/project/celery/
|
||||
|
||||
Django provides the :func:`on_commit` function to register callback functions
|
||||
that should be executed after a transaction is successfully committed:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue