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
This commit is contained in:
Adrian Holovaty 2006-03-02 05:01:04 +00:00
parent a93fbfd616
commit 6dd46ebc50
1 changed files with 2 additions and 2 deletions

View File

@ -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):
....