summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Zhiqiang <huangzhiqiang@cloudin.cn>2017-04-19 20:47:46 +0800
committerTim Graham <timograham@gmail.com>2017-04-19 12:59:46 -0400
commitfd983bcb50a4fd610f6b9918bca6efa858eeffec (patch)
treeae0c45160c7ee4a88830842ab27b0b946e4f3b32
parentd6524088a85a3b6ee4216c46a2d847eb6500decd (diff)
[1.11.x] Fix a typo in django/db/transaction.py
Backport of cd7afcdcac69cc4e6f762188262957bceb4760e0 from master
-rw-r--r--django/db/transaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/transaction.py b/django/db/transaction.py
index e392c13b32..412513b475 100644
--- a/django/db/transaction.py
+++ b/django/db/transaction.py
@@ -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.