title: Django templates not updating after database changes via admin
body: <p>I am using Django v2.2 admin to change the information on my database but after I change it and refresh the page, the new data is not there, only the old data. </p>
  
  <p>A fix for this if I restart the server, the templates can now fetch the new data that I input.</p>
  
  <p>views.py</p>
  
  <pre><code># template with context
  class Home(TemplateView):
      template = 'home.html'
      context = { 'bar': Baby.objects.all() }
  
       def get(self, request):
           return render(request, self.template, self.context)
  </code></pre>
  
  <p>home.html</p>
  
  <pre><code>{% for foo in bar %}
      {{ foo.name }}
      {{ foo.cost }}
  {% endfor %}
  </code></pre>
  
  <p>How I can get the new data by refreshing the page and not restarting the server?</p>