1
0
mirror of https://github.com/django/django.git synced 2025-03-14 03:10:45 +00:00

[1.6.x] Fixed typo in docs/topics/db/transactions.txt.

Backport of 4db75925be from master
This commit is contained in:
Corey Farwell 2014-09-02 23:27:36 -04:00 committed by Tim Graham
parent f7c7ab0e89
commit 289d38b731

View File

@ -602,7 +602,7 @@ the block of code it controls; when exiting the block, it commits or
rollbacks, and switches back to auto mode.
So :func:`commit_on_success` really has two effects: it changes the
transaction state and it defines an transaction block. Nesting will give the
transaction state and it defines a transaction block. Nesting will give the
expected results in terms of transaction state, but not in terms of
transaction semantics. Most often, the inner block will commit, breaking the
atomicity of the outer block.