diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-03-02 05:01:04 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-03-02 05:01:04 +0000 |
| commit | 6dd46ebc5064be0d7b94aa86ecdb774926e1d318 (patch) | |
| tree | 574d00aeab2fb03e6d4bf43f0cb9c3bd6dee48a4 /docs/transactions.txt | |
| parent | a93fbfd616a03ad29afed063fe2763df78b04874 (diff) | |
magic-removal: Changed commit_on_success section of docs/transactions.txt to be more clear
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/transactions.txt')
| -rw-r--r-- | docs/transactions.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/transactions.txt b/docs/transactions.txt index c75efb83b9..d0d0bd01bb 100644 --- a/docs/transactions.txt +++ b/docs/transactions.txt @@ -79,9 +79,9 @@ database. You can use the ``commit_on_success`` decorator to use a single transaction for all the work done in a function:: - from django.db.transaction import commit_on_success + from django.db import transaction - @commit_on_success + @transaction.commit_on_success def viewfunc(request): .... |
