From e695567d1078a343a5ba51b6de9d1d374ea30c20 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 12 Mar 2006 23:00:00 +0000 Subject: [PATCH] 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 --- docs/transactions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/transactions.txt b/docs/transactions.txt index d0d0bd01bb..b50b8328b0 100644 --- a/docs/transactions.txt +++ b/docs/transactions.txt @@ -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 the decorator like this:: - from django.db.transaction import autocommit + from django.db import transaction @transaction.autocommit def viewfunc(request):