xact
xact copied to clipboard
Transaction decorator for Django and PostgreSQL
I've added setup.py file so that you can upload xact to pypi. If it's something you want, merge this pull request and upload it using hints from here: http://guide.python-distribute.org/creation.html#uploading-your-distribution-file
This includes two fixes. 1) The current SID is now thread local. 2) More sensible behaviour if for some reason autocommit is off but this decorator is in use. When...
Apologies in advance if this suggestion is incorrect. I am seeing the _Transaction object shared between invocations in different requests, in different calls to the same method in the same...