title: Django update table on page every 5 sec
body: <p>So i have a template which gets a list of lists with information for table.</p>
  <p>I render data like that way</p>
  <p>Here is my template html</p>
  <pre><code>{% for each in info %}
  
                                                      &lt;tr class=&quot;bg-dark-2&quot;&gt;
                                                          &lt;th data-label=&quot;Seller&quot; scope=&quot;row&quot;&gt;&lt;span class=&quot;fw-bold&quot;&gt;{{ each.2 }}&lt;/span&gt;&lt;/th&gt;
                                                          &lt;th data-label=&quot;U give&quot;&gt;
                                                              &lt;div class=&quot;d-flex align-items-center&quot;&gt;
                                                                  &lt;span class=&quot;icon d-flex align-items-center justify-content-center me-3&quot;&gt;&lt;/span&gt;&lt;span&gt;{{ each.4}}&lt;/span&gt;&lt;span class=&quot;fw-normal ms-3&quot;&gt;{{ each.0 }}&lt;/span&gt;
                                                              &lt;/div&gt;
                                                          &lt;/th&gt;
                                                          &lt;th data-label=&quot;U get&quot;&gt;&lt;span&gt;{{ each.1 }} {{ each.5 }}&lt;/span&gt;&lt;/th&gt;
                                                          &lt;th data-label=&quot;Limit&quot;&gt;&lt;span&gt;from {{ each.8 }} to {{ each.9 }}&lt;/span&gt;&lt;/th&gt;
                                                          &lt;th data-label=&quot;Reserve&quot;&gt;&lt;span&gt;{{ each.6 }}&lt;/span&gt;&lt;/th&gt;
                                                          &lt;th data-label=&quot;&quot;&gt;
                                                              &lt;a class=&quot;btn btn-success btn-block&quot; href=&quot;{{ each.3 }}&quot;&gt;Buy&lt;/a&gt;
                                                          &lt;/th&gt;
                                                      &lt;/tr&gt;
  {% endfor %}
  </code></pre>
  <p>So the task is, how can i update data on my django webpage, without refreshing it? (every 5-10 seconds)
  Or how can i use ajax for  delete table and download new data to it?</p>