diff options
| author | Andreas Pelme <andreas@pelme.se> | 2015-06-30 18:18:56 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-30 14:51:00 -0400 |
| commit | 00a1d4d042a7afd139316982c9b57e87d26a894f (patch) | |
| tree | 65b4427112045acc25d097413b34faeab882ad88 /tests/transaction_hooks/__init__.py | |
| parent | 9f0d67137c98aa296471e1b7f57ae43f5bb17db6 (diff) | |
Fixed #21803 -- Added support for post-commit callbacks
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.
Diffstat (limited to 'tests/transaction_hooks/__init__.py')
| -rw-r--r-- | tests/transaction_hooks/__init__.py | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/transaction_hooks/__init__.py b/tests/transaction_hooks/__init__.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/transaction_hooks/__init__.py |
