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

Commit and rollback signals for Django transactions based on Grégoire Cachet's excellent gist.

Results 3 django-transaction-signals issues
Sort by recently updated
recently updated
newest added

How about adding a pre-commit signal allowing to do things at the last moment before changes are committed?

Django’s default transaction behavior¶ Django’s default behavior is to run in autocommit mode. Each query is immediately committed to the database. See below for details. Django uses transactions or savepoints...

For `post_commit` and `post_rollback` signals, I think savepoints need to be taken into account. `pre_rollback` signals connected during rolled back savepoints should still be called at commit time, whilst analogously...