mirror of
https://github.com/django/django.git
synced 2025-04-01 12:06:43 +00:00
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
This commit is contained in:
parent
15295a852f
commit
d665c0b3b9
@ -73,7 +73,7 @@ These functions, described in detail below, can be used in two different ways:
|
|||||||
|
|
||||||
from django.db import transaction
|
from django.db import transaction
|
||||||
|
|
||||||
@transaction.commit_on_success()
|
@transaction.commit_on_success
|
||||||
def viewfunc(request):
|
def viewfunc(request):
|
||||||
# ...
|
# ...
|
||||||
# this code executes inside a transaction
|
# this code executes inside a transaction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user