'Can I trigger Celery task on table update in Django?
For example, I have a model:
class SomeModel(model.Model):
is_active = BooleanField(default=False)
...
Is it possible to trigger Celery task when is_active changes to True? The most important thing here is that I need to trigger it regardless of way is_active changed, whether it changed via shell, admin panel, api call etc. The DB I use is psql.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
