Celery task revokes are stored on memory or on file. This packages makes possible to easily customize how your revokes are stored (Ex.: Database).
The full documentation is at https://celery-persistent-revokes.readthedocs.io.
Install Celery Persistent Revokes:
pip install celery-persistent-revokes
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'celery_persistent_revokes.apps.CeleryPersistentRevokesConfig',
...
)
Add Celery Persistent Revokes's URL patterns:
from celery_persistent_revokes import urls as celery_persistent_revokes_urls
urlpatterns = [
...
url(r'^', include(celery_persistent_revokes_urls)),
...
]
- Built-in tasks revokes using Django default database
- Support for custom backends
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: