0
0
mirror of https://github.com/django/django.git synced 2024-11-29 14:46:18 +01:00

Fixed typo in docs/topics/db/transactions.txt.

This commit is contained in:
Corey Farwell 2014-09-02 23:27:36 -04:00 committed by Tim Graham
parent 09c1f18f22
commit 4db75925be

View File

@ -575,7 +575,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.