Skip to main content

Django database backends that permit registering post-transaction-commit hooks

Project description

Test status Test coverage Documentation Status Latest version

Django database backends with post-transaction-commit callback hooks.

django-transaction-hooks supports Django 1.6.1 and later on Python 2.6, 2.7, 3.2, and 3.3.

Getting Help

Documentation for django-transaction-hooks is available at https://django-transaction-hooks.readthedocs.org/

This app is available on PyPI and can be installed with pip install django-transaction-hooks.

Contributing

See the contributing docs.

CHANGES

0.2 (2014.11.29)

  • Add built-in PostGIS backend. Merge of GH-16, fixes GH-14. Thanks Bertrand Bordage.

0.1.4 (2014.05.27)

  • Make it possible to execute a transaction within an on-commit hook (except on SQLite). Merge of GH-9, fixes GH-8. Thanks Marek Malek.

0.1.3 (2014.01.24)

  • Fix failure when mixing-in with database backends that perform queries in __init__ (e.g. PostGIS backend when POSTGIS_VERSION setting is not set). Merge of GH-6, fixes GH-5. Thanks Niels Sandholt Busch.

0.1.2 (2014.01.21)

  • Fix bug where running queries in an on_commit hook under Postgres caused an “autocommit cannot be used inside a transaction” error. (GH-4).

0.1.1 (2014.01.18)

  • Clear run-on-commit hooks even if one raises an exception. Thanks akaariai.

0.1 (2014.01.18)

  • Initial working version; support for SQLite3, PostgreSQL, MySQL.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-transaction-hooks-0.2.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file django-transaction-hooks-0.2.tar.gz.

File metadata

File hashes

Hashes for django-transaction-hooks-0.2.tar.gz
Algorithm Hash digest
SHA256 51bab09547fab673a24d6c59f1df560183b3a49f24a7a5bf35e7eb34ef939e79
MD5 91a185aa9e7597b36fadf12ce0b72bdd
BLAKE2b-256 60f004ea2d937a44d94043a0ce8d4dec3328b36faa5d4b3c893478165c0aa259

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page