diff options
| author | Huang Zhiqiang <huangzhiqiang@cloudin.cn> | 2017-04-19 20:47:46 +0800 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2017-04-19 16:36:06 +0200 |
| commit | cd7afcdcac69cc4e6f762188262957bceb4760e0 (patch) | |
| tree | 06722988e02bfa2e6758ef8965efe67a4530ae70 | |
| parent | 81f844940279140d27578fc6a5b134763ffcceb6 (diff) | |
Fix a typo in django/db/transaction.py
| -rw-r--r-- | django/db/transaction.py | 2 |
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. |
