Fixed typo introduced in r11952.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b7e4ae4996
commit
d7d2bdd9e9
|
@ -329,7 +329,7 @@ def commit_manually(func_or_using=None):
|
|||
|
||||
return wraps(func)(_commit_manually)
|
||||
if func_or_using is None:
|
||||
func_or_using = DEFALUT_DB_ALIAS
|
||||
func_or_using = DEFAULT_DB_ALIAS
|
||||
if callable(func_or_using):
|
||||
return inner_commit_manually(func_or_using, DEFAULT_DB_ALIAS)
|
||||
return lambda func: inner_commit_manually(func, func_or_using)
|
||||
|
|
Loading…
Reference in New Issue