Ticket #12511: transaction.diff

File transaction.diff, 545 bytes (added by django@…, 15 years ago)
  • django/db/transaction.py

     
    329329
    330330        return wraps(func)(_commit_manually)
    331331    if func_or_using is None:
    332         func_or_using = DEFALUT_DB_ALIAS
     332        func_or_using = DEFAULT_DB_ALIAS
    333333    if callable(func_or_using):
    334334        return inner_commit_manually(func_or_using, DEFAULT_DB_ALIAS)
    335335    return lambda func: inner_commit_manually(func, func_or_using)
Back to Top