summaryrefslogtreecommitdiff
path: root/django/db/transaction.py
diff options
context:
space:
mode:
authorHuang Zhiqiang <huangzhiqiang@cloudin.cn>2017-04-19 20:47:46 +0800
committerAymeric Augustin <aymeric.augustin@m4x.org>2017-04-19 16:36:06 +0200
commitcd7afcdcac69cc4e6f762188262957bceb4760e0 (patch)
tree06722988e02bfa2e6758ef8965efe67a4530ae70 /django/db/transaction.py
parent81f844940279140d27578fc6a5b134763ffcceb6 (diff)
Fix a typo in django/db/transaction.py
Diffstat (limited to 'django/db/transaction.py')
-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 ded74ce26a..a184796649 100644
--- a/django/db/transaction.py
+++ b/django/db/transaction.py
@@ -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.