django-transaction-hooks icon indicating copy to clipboard operation
django-transaction-hooks copied to clipboard

Can't open a transaction within an on-commit hook on SQLite.

Open carljm opened this issue 10 years ago • 0 comments

This is because opening a transaction on SQLite in autocommit-off raises an error, but we don't have a way to hook into the point when autocommit is turned back on (atomic doesn't call set_autocommit(True) for SQLite, it just manually sets connection.autocommit = True).

This test is currently marked xfail for SQLite.

carljm avatar May 27 '14 19:05 carljm