https://github.com/luisza/async_notifications
There is a demo project and some ideas about how to implement it.
If you like you can use it and if you want to extend do it and let me know for incorporate you're code.
El sábado, 28 de mayo de 2016, Akhil Lawrence <akhilputhiry@gmail.com> escribió:
> You can create a celery task fro this. See this link for more details.
> http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
>
>
>
> On Saturday, 28 May 2016 19:51:49 UTC+5:30, 2me wrote:
>>
>> I have to implement a thread in order to test if (temperature>maximmum) it sends an email .
>> I have done a python file which reads temperature and as a begining I have tested an aplication that sends email when I access to its URL .
>> BUt I have no idea how to this into a thread !!! please help me
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b1b51b16-2318-4022-9b20-495547931635%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
"La utopía sirve para caminar" Fernando Birri
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAG%2B5VyPV_E8Q9S_y9f%2BCGjUhVih-c%2BUcn1m-kEWi63ZA9Z5%2BKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment