Fixed #25311 -- Removed vague language about "partial commits" from docs.
This commit is contained in:
parent
4bc00defd0
commit
ea47a052ba
|
@ -39,9 +39,9 @@ transaction. If the response is produced without problems, Django commits the
|
||||||
transaction. If the view produces an exception, Django rolls back the
|
transaction. If the view produces an exception, Django rolls back the
|
||||||
transaction.
|
transaction.
|
||||||
|
|
||||||
You may perform partial commits and rollbacks in your view code, typically with
|
You may perform subtransactions using savepoints in your view code, typically
|
||||||
the :func:`atomic` context manager. However, at the end of the view, either
|
with the :func:`atomic` context manager. However, at the end of the view,
|
||||||
all the changes will be committed, or none of them.
|
either all or none of the changes will be committed.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue