How do I put this on Real-Time? I already put (async: True) but it doesnt work
Instead of polling, you can use server-sent-events, which does not put as much strain on the server as data is only sent if a new event has happened (like a new row). More can be found out about them here: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events Here is an example, as the one in the link is not that good. … Read more