[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
This commit is contained in:
parent
258957f4b9
commit
9b0f1de566
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue