Reputation: 229
I have a task that build a task Server and I decide to use Celery. My idea is that :
There are some task that Django
website have to tell celery Server on Machine 1 to work.
For example :
When a new user registered , Django
code will call the celery worker to send email somehow.
I read documents about celery, but I can not find any documents that show me how to call a "send email" task to the Machine 1 and ask Machine 1 to send the email.
any idea ? Thank you very much
Upvotes: 0
Views: 671
Reputation: 1124
When you use django and celery together take a look at django-celery,
http://docs.celeryproject.org:8000/en/latest/django/
Upvotes: 1