mirror of
https://github.com/django/django.git
synced 2025-07-05 18:29:11 +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:
parent
2309288688
commit
07fc79651d
@ -257,7 +257,7 @@ def savepoint_commit(sid, using=None):
|
|||||||
# DECORATORS #
|
# 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;
|
Decorator that activates commit on save. This is Django's default behavior;
|
||||||
this decorator is useful if you globally activated transaction management in
|
this decorator is useful if you globally activated transaction management in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user