title: How to pass django rest framework response to html?
body: <p>How to pass django restframework response for any request to html.
  Example: A list which contains objects, and html be articles.html.</p>
  
  <p>I tried by using rest framework Response :</p>
  
  <pre><code>data= {'articles': Article.objects.all() }
  return Response(data, template_name='articles.html')
  </code></pre>
  
  <p>I am getting this error :</p>
  
  <pre><code>""" AssertionError at /articles/
  
  .accepted_renderer not set on Response """
  </code></pre>
  
  <p>Where i went wrong, please suggest me.</p>