Kaydet (Commit) d7d2bdd9 authored tarafından Jannis Leidel's avatar Jannis Leidel

Fixed typo introduced in r11952.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst b7e4ae49
...@@ -329,7 +329,7 @@ def commit_manually(func_or_using=None): ...@@ -329,7 +329,7 @@ def commit_manually(func_or_using=None):
return wraps(func)(_commit_manually) return wraps(func)(_commit_manually)
if func_or_using is None: if func_or_using is None:
func_or_using = DEFALUT_DB_ALIAS func_or_using = DEFAULT_DB_ALIAS
if callable(func_or_using): if callable(func_or_using):
return inner_commit_manually(func_or_using, DEFAULT_DB_ALIAS) return inner_commit_manually(func_or_using, DEFAULT_DB_ALIAS)
return lambda func: inner_commit_manually(func, func_or_using) return lambda func: inner_commit_manually(func, func_or_using)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment