About Solving Conflicts with Huey and Celery
Both background task managers, Huey and Celery, suggest placing the tasks in tasks.py
files at your Django apps.
When using Huey, some third party libraries might be conflicting when they have functionalities for Celery. To solve that, you would need to disable auto-discovery of tasks functions and instead register your tasks for Huey manually by importing them in the app configs:
1 |
|
myapp/apps.py
1 2 3 4 5 6 7 8 |
|
Tips and Tricks Programming Dev Ops Django 4.2 Django 3.2 Django 2.2 Huey Celery
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.