Signals for atomic transaction blocks in Django 1.6+
Project description
Don’t Use This Package
When this library was created, there was an unmet demand for its main use case: being able to run code when the current transaction commits, and only if it commits. However, signals are not the best way to do this, as Django core developer Aymeric Augustin has covered on his django-transaction-signals project (which is very similar to this one). You can read more explanation and history there.
If you want a supported method of running a function on commit, then:
on Django >= 1.9, use the built-in on_commit hook
on Django < 1.9, use django-transaction-hooks (the original source of 1.9’s on_commit)
For other usecases, read Aymeric’s description of possible solutions.
If your project is still using this library, please migrate.
The current version of django-atomic-signals, 2.0.0, simply errors upon import, directing you here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-atomic-signals-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9fa910916fe0c7eaa2dde64a24c1f39d327347b7a9edd525d01642f303513cb |
|
MD5 | 1820fbbaf07bac2dea51742fb934a503 |
|
BLAKE2b-256 | 79c69ea78282e2ed3c7295a05be5b52e219ed3c25adf39bd5bdb3d902b8819a3 |