Update databases/postgresql12-server to version 12.2_2
[dports.git] / databases / py-django-transaction-hooks / pkg-descr
1 A better alternative to the native transaction signals of Django.
2
3 Sometimes you need to fire off an action related to the current database
4 transaction, but only if the transaction successfully commits. Examples:
5 a Celery task, an email notification, or a cache invalidation.
6
7 Doing this correctly while accounting for savepoints that might be
8 individually rolled back, closed/dropped connections, and idiosyncrasies of
9 various databases, is non-trivial. Transaction signals just make it easier
10 to do it wrong.
11
12 django-transaction-hooks does the heavy lifting so you don't have to.
13
14 WWW: https://github.com/carljm/django-transaction-hooks