1
0
mirror of https://github.com/django/django.git synced 2025-07-05 02:09:13 +00:00

[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
This commit is contained in:
Alex Gaynor 2009-08-09 02:48:19 +00:00
parent 2309288688
commit 07fc79651d

View File

@ -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