title: Django async update a single page template
body: <p>I have a django view with this function to get the data for a template:</p>
  
  <pre><code>def get_context_data(self, **kwargs):
    context = super(MyView, self).get_context_data(**kwargs)
    context['extra_data'] = a_long_running_function()
    return context
  </code></pre>
  
  <p>The <code>extra_data</code> is displayed in a table. As the above function indicates, the page takes a long time to load due to calculation of <code>extra_data</code>. </p>
  
  <p>So how can I show the page straight away, and then update the tablewhen <code>extra_data</code> is computed?</p>
  
  <p>I understand how I can use celery to make <code>a_long_running_function</code> execute asynchronously, but I dont know how to then make the page (which is now loaded, but missing data for the table), get that data and update automatically?</p>