summaryrefslogtreecommitdiff
path: root/tests/transaction_hooks/__init__.py
AgeCommit message (Collapse)Author
2015-06-30Fixed #21803 -- Added support for post-commit callbacksAndreas Pelme
Made it possible to register and run callbacks after a database transaction is committed with the `transaction.on_commit()` function. This patch is heavily based on Carl Meyers django-transaction-hooks <https://django-transaction-hooks.readthedocs.org/>. Thanks to Aymeric Augustin, Carl Meyer, and Tim Graham for review and feedback.