Atomic transaction aware Celery tasks for Django 1.6+
Project description
Don’t Use This Package
This library uses django-atomic-signals. Unfortunately this is not a great way of achieving “don’t run this code until the transaction commits” any more. There is plenty of extra description 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 celery task 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)
Both give examples with celery tasks so you are in good hands.
If your project is still using this library, please migrate. You will need to remove django-atomic-signals as well as django-atomic-celery.
The current version of django-atomic-celery, 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.
Source Distribution
Hashes for django-atomic-celery-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f8fc8b3d330465b14f13894d8873387a13384b6d1647c7c721c4f82f8af562a |
|
MD5 | 912f1fa18e13814591d1416c3845be45 |
|
BLAKE2b-256 | 47c9ffe54cb28a5cac41055ffc639ce96d98daf12b617621a1153506261c932e |