mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #33616 -- Allowed registering callbacks that can fail in transaction.on_commit().
Thanks David Wobrock and Mariusz Felisiak for reviews.
This commit is contained in:
committed by
Mariusz Felisiak
parent
be63c78760
commit
4a1150b41d
@@ -212,6 +212,10 @@ Models
|
||||
* :ref:`Registering lookups <lookup-registration-api>` on
|
||||
:class:`~django.db.models.Field` instances is now supported.
|
||||
|
||||
* The new ``robust`` argument for :func:`~django.db.transaction.on_commit`
|
||||
allows performing actions that can fail after a database transaction is
|
||||
successfully committed.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user