Re: Django and Long Polling

2014-03-23 Thread Kakar Nyori
You mean requesting db in the given time? On Sun, Mar 23, 2014 at 8:50 AM, Venkatraman S wrote: > Why not use (async)callbacks? > > -V > > > On Sun, Mar 23, 2014 at 1:11 AM, Robin Lery wrote: > >> Hello, >> I need to implement long polling in my application to retrieve the >> events. But I hav

Re: Django and Long Polling

2014-03-22 Thread Venkatraman S
Why not use (async)callbacks? -V On Sun, Mar 23, 2014 at 1:11 AM, Robin Lery wrote: > 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 oc

Django and Long Polling

2014-03-22 Thread Robin Lery
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 ex