Ticket #12511: transaction.diff
File transaction.diff, 545 bytes (added by , 15 years ago) |
---|
-
django/db/transaction.py
329 329 330 330 return wraps(func)(_commit_manually) 331 331 if func_or_using is None: 332 func_or_using = DEFA LUT_DB_ALIAS332 func_or_using = DEFAULT_DB_ALIAS 333 333 if callable(func_or_using): 334 334 return inner_commit_manually(func_or_using, DEFAULT_DB_ALIAS) 335 335 return lambda func: inner_commit_manually(func, func_or_using)