title: Why despite no error, the List View does not work?
body: <p>I am not getting any error but my list view does not function. The detail view at the top with ID =1 is working fine. I change the ID numbers and can see the different posts. But when I go to the URL <a href="http://127.0.0.1:8000/feed/" rel="nofollow noreferrer">http://127.0.0.1:8000/feed/</a>, the detail view remains stuck whereas I should be seeing 3 posts vertically. It is almost as if the page is not refreshing,</p>
  <p>Perhaps class-based views are better ways to do it, but for my own learning I want to know why this is not working.</p>
  <pre><code>def feed_detail_view(request, id = 1):
  obj = Feed.objects.get(id=id)
  #print(obj)
  context = {
      &quot;object&quot; : obj,
  }
  return render(request, 'feeds/detail_view.html',context)
  
  def feed_list_view(request):
  queryset = Feed.objects.all()
  context = {
      &quot;object_list&quot; : queryset
  }
  return render(request, 'feeds/list_view.html',context)
  
  #code in my list_view html
  
  {% for object in object_list %}
     {{object.content}} &lt;br/&gt;
     {{object.user}} &lt;br/&gt;
     {{object.timestamp|timesince}}
  {% endfor %}
  </code></pre>