From 07fc79651d1fc348533e809957286b626941a9e7 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 9 Aug 2009 02:48:19 +0000 Subject: [PATCH] [soc2009/multidb] Fixed a naming inconsistancy in the transsaction decorators. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11419 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/transaction.py b/django/db/transaction.py index 73c5680f7e..80cdcc2648 100644 --- a/django/db/transaction.py +++ b/django/db/transaction.py @@ -257,7 +257,7 @@ def savepoint_commit(sid, using=None): # DECORATORS # ############## -def autocommit(using_or_func=None): +def autocommit(func_or_using=None): """ Decorator that activates commit on save. This is Django's default behavior; this decorator is useful if you globally activated transaction management in