From cd7afcdcac69cc4e6f762188262957bceb4760e0 Mon Sep 17 00:00:00 2001 From: Huang Zhiqiang Date: Wed, 19 Apr 2017 20:47:46 +0800 Subject: [PATCH] Fix a typo in django/db/transaction.py --- django/db/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.