mirror of
https://github.com/django/django.git
synced 2025-07-05 10:19:20 +00:00
magic-removal: Fixed #1492 -- Fixed typo in docs/transactions.txt. Thanks, Armin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8addbfa0d2
commit
e695567d10
@ -63,7 +63,7 @@ You can use the ``autocommit`` decorator to switch a view function to the
|
|||||||
default commit behavior of Django, regardless of the global setting. Just use
|
default commit behavior of Django, regardless of the global setting. Just use
|
||||||
the decorator like this::
|
the decorator like this::
|
||||||
|
|
||||||
from django.db.transaction import autocommit
|
from django.db import transaction
|
||||||
|
|
||||||
@transaction.autocommit
|
@transaction.autocommit
|
||||||
def viewfunc(request):
|
def viewfunc(request):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user