#21803: Support post-commit hooks -------------------------------------+------------------------------------- Reporter: aaugustin | Owner: nobody Type: New feature | Status: closed Component: Database layer | Version: master (models, ORM) | Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Tim Graham <timograham@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"00a1d4d042a7afd139316982c9b57e87d26a894f" 00a1d4d0]: {{{ #!CommitTicketReference repository="" revision="00a1d4d042a7afd139316982c9b57e87d26a894f" 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. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/21803#comment:10> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.8517fd109aa671e0a8cd0b3076d275b8%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.