Skip to main content

Atomic transaction aware signals for Django 1.6+

Project description

https://travis-ci.org/adamchainz/django_atomic_dispatch.png?branch=master

Don’t Use This Library

This library uses django-atomic-signals. Unfortunately that library is deprecated, and is a bit too hacky. There is plenty of extra description why on django-atomic-signals’ README, and also on the similar library django-transaction-signals, by Django core developer Aymeric.

If you want a supported method of executing a signal dispatch only when the current transaction commits, then:

Both give examples so you are in good hands. In most cases you will just need to use a regular signal and make its send() happen inside a lambda that is passed to on_commit.

If your project is still using this library, please migrate. You will need to remove django-atomic-signals as well as django-atomic-dispatch.

The current version of django-atomic-dispatch, 2.0.0, simply errors upon import, directing you here.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-atomic-dispatch-2.0.0.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page