Permalink
Browse files

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
  • Loading branch information...
1 parent 15295a8 commit d665c0b3b92b589d3361463005f64582299d56e6 @timgraham timgraham committed Mar 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/db/transactions.txt
View
2 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

0 comments on commit d665c0b

Please sign in to comment.