title: How to display multiple views in a Django template?
body: <p>I want to display the following two views in a template <code>index.html</code>.</p>
  
  <pre><code>class IndexView(generic.ListView):
  
      template_name = 'items/index.html'
      context_object_name = 'popular_items_list'
  
      def get_queryset(self):
          return Item.objects.order_by('-rating')[:5]
  
  class tryView(generic.ListView):
  
      template_name = 'items/index.html'
      context_object_name = 'latest_items_list'
  
      def get_queryset(self):
          return Item.objects.order_by('pub_date')[:5]
  </code></pre>
  
  <p>Is there a way to combine these two views into one view?</p>
  
  <p>How should I get both query sets displayed on <code>index.html</code>?</p>
  
  <p>Is it possible to send all the <code>Item.objects.all()</code> and filter in the template?</p>