mirror of
https://github.com/django/django.git
synced 2025-04-01 12:06:43 +00:00
[1.8.x] Fixed #25311 -- Removed vague language about "partial commits" from docs.
Backport of ea47a052ba7a097a98993c240ecea96a115f6c25 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.
|
||||
|
||||
You may perform partial commits and rollbacks in your view code, typically with
|
||||
the :func:`atomic` context manager. However, at the end of the view, either
|
||||
all the changes will be committed, or none of them.
|
||||
You may perform subtransactions using savepoints in your view code, typically
|
||||
with the :func:`atomic` context manager. However, at the end of the view,
|
||||
either all or none of the changes will be committed.
|
||||
|
||||
.. warning::
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user