[Answered ]-Continous update content of a Django page

2👍

You should use AJAX queries, either of two techniques:

  1. Periodically have the page request updates (and update the table with the result in JavaScript; backend remains plain django); or
  2. Use long-polling, a technique commonly known as “comet”, for keeping a connection open with the server and receiving a server event when there is an update. The backend for this could be a bit tricky in frameworks designed for request/response pattern; but you can find leads on how to do it in python here.
👤onon15

Leave a comment