diff options
| author | Ian Foote <python@ian.feete.org> | 2020-11-22 16:20:56 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-11-27 21:43:15 +0100 |
| commit | 3828879eee09da95bf99886c1ae182a36b1d89b3 (patch) | |
| tree | e0520c84e22ab5f275b30648f64149d46531dc47 /docs/releases | |
| parent | 8b040e3cbbb2e81420e777afc3ca48a1c8f4dd5a (diff) | |
Fixed #32220 -- Added durable argument to transaction.atomic().
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/3.2.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index 222ef6c870..1209b357e2 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -356,6 +356,11 @@ Models allow using transforms. See :ref:`using-transforms-in-expressions` for details. +* The new ``durable`` argument for :func:`~django.db.transaction.atomic` + guarantees that changes made in the atomic block will be committed if the + block exits without errors. A nested atomic block marked as durable will + raise a ``RuntimeError``. + Pagination ~~~~~~~~~~ |
