title: django include a template into another template
body: <p>I am trying to include a template into another template but the problem I am having now is the embedded templates doesnt display contents rendered on it in the new template I am trying to embed it into. </p>
  
  <p><strong>detail.html in profile application</strong></p>
  
  <pre><code>{% include "list.html" with instance=user.posts_created.all %}
  </code></pre>
  
  <p>and I have the template in the templates folder. The template is seen but the content does not show up in the detail.html  </p>
  
  <p>additional codes would be provided on request thanks</p>
  
  <p><strong>views.py in posts app</strong></p>
  
  <pre><code>def axle(request , tag_slug=None):
      results = Post.objects.all().filter(draft=False)#.filter(publish__lte=timezone.now())
      #results = results.filter(user=request.user)
      tag = None
      if tag_slug:
          tag = get_object_or_404(Tag, slug=tag_slug)
          results = results.filter(tags__in=[tag])
      que = request.GET.get("q")
      if que:
          results =results.filter(
              Q(title__icontains=que)|
              Q(content__icontains=que)).distinct()
      paginator = Paginator(results, 4) # Show 25 contacts per page
      pages ="page"
      page = request.GET.get('page')
      try:
          query = paginator.page(page)
      except PageNotAnInteger:
          query = paginator.page(1)
      except EmptyPage:
          query = paginator.page(paginator.num_pages)
  
      context = {
          "objects": query,
          "pages": pages
      }
      template = 'list.html'
      return render(request,template,context)
  </code></pre>