mirror of
https://github.com/django/django.git
synced 2025-04-15 12:54:38 +00:00
[1.11.x] Fix a typo in django/db/transaction.py
Backport of cd7afcdcac69cc4e6f762188262957bceb4760e0 from master
This commit is contained in:
parent
d6524088a8
commit
fd983bcb50
@ -136,7 +136,7 @@ class Atomic(ContextDecorator):
|
||||
connection. None denotes the absence of a savepoint.
|
||||
|
||||
This allows reentrancy even if the same AtomicWrapper is reused. For
|
||||
example, it's possible to define `oa = @atomic('other')` and use `@oa` or
|
||||
example, it's possible to define `oa = atomic('other')` and use `@oa` or
|
||||
`with oa:` multiple times.
|
||||
|
||||
Since database connections are thread-local, this is thread-safe.
|
||||
|
Loading…
x
Reference in New Issue
Block a user