summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2011-03-27 23:00:36 +0000
committerTimo Graham <timograham@gmail.com>2011-03-27 23:00:36 +0000
commitd665c0b3b92b589d3361463005f64582299d56e6 (patch)
treea4dc30059dcee9f6be749fa7dc5fef556aee20f3 /docs
parent15295a852f181d8812fd06aef2763b28443bc331 (diff)
Fixed #15664 - Removed extra parens in commit_on_success example.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15923 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