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.