mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fix a typo in django/db/transaction.py
This commit is contained in:
parent
81f8449402
commit
cd7afcdcac
@ -125,7 +125,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…
Reference in New Issue
Block a user