mirror of https://github.com/django/django.git
[1.8.x] Fixed #25311 -- Removed vague language about "partial commits" from docs.
Backport of ea47a052ba
from master
This commit is contained in:
parent
0723a39a59
commit
58335a2c0b
|
@ -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