[1.11.x] Fix a typo in django/db/transaction.py

Backport of cd7afcdcac from master
This commit is contained in:
Huang Zhiqiang 2017-04-19 20:47:46 +08:00 committed by Tim Graham
parent d6524088a8
commit fd983bcb50
1 changed files with 1 additions and 1 deletions

View File

@ -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.