summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2011-03-27 23:01:47 +0000
committerTimo Graham <timograham@gmail.com>2011-03-27 23:01:47 +0000
commit9b0f1de56693156ce78edf5456dc32e55d7b11e4 (patch)
tree4e76ea1b120edf5327ce41d5a7d50b86dd3061a8 /docs
parent258957f4b909b5f893a452ea3a13e82719037cbb (diff)
[1.3.X] Fixed #15664 - Removed extra parens in commit_on_success example.
Backport of r15923 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@15924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/transactions.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/transactions.txt b/docs/topics/db/transactions.txt
index a5bb7470ad..70b11570e1 100644
--- a/docs/topics/db/transactions.txt
+++ b/docs/topics/db/transactions.txt
@@ -73,7 +73,7 @@ These functions, described in detail below, can be used in two different ways:
from django.db import transaction
- @transaction.commit_on_success()
+ @transaction.commit_on_success
def viewfunc(request):
# ...
# this code executes inside a transaction