mirror of
https://github.com/django/django.git
synced 2025-08-19 10:10:42 +00:00
[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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue