mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Fixed typo in docs/topics/db/transactions.txt.
This commit is contained in:
parent
09c1f18f22
commit
4db75925be
@ -575,7 +575,7 @@ the block of code it controls; when exiting the block, it commits or
|
|||||||
rollbacks, and switches back to auto mode.
|
rollbacks, and switches back to auto mode.
|
||||||
|
|
||||||
So :func:`commit_on_success` really has two effects: it changes the
|
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
|
expected results in terms of transaction state, but not in terms of
|
||||||
transaction semantics. Most often, the inner block will commit, breaking the
|
transaction semantics. Most often, the inner block will commit, breaking the
|
||||||
atomicity of the outer block.
|
atomicity of the outer block.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user