Django and Long Polling

263 views
Skip to first unread message

Robin Lery

unread,
Mar 22, 2014, 3:41:11 PM3/22/14
to django...@googlegroups.com
Hello,
I need to implement long polling in my application to retrieve the events. But I have no idea how to do it. I know the concept of long polling, i.e to leave the connection open, until an event occurs. But how do I do implement this in my project. If you could give me a simple long polling example of client side and the views i guess, I would really appreciate.

Thank you!

Venkatraman S

unread,
Mar 22, 2014, 11:20:39 PM3/22/14
to django...@googlegroups.com
Why not use (async)callbacks?

-V


--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B4-nGpvKHcMg-mMRbf7%2BVceCAkRwipt_8NvojEw43ALhC2YBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Kakar Nyori

unread,
Mar 23, 2014, 11:06:15 AM3/23/14
to django...@googlegroups.com
You mean requesting db in the given time?


Reply all
Reply to author
Forward
0 new messages