How to pass django restframework response for any request to html.
Example: A list which contains objects, and html be articles.html.

I tried by using rest framework Response :

```
data= {'articles': Article.objects.all() }
return Response(data, template_name='articles.html')

```

I am getting this error :

```
""" AssertionError at /articles/

.accepted_renderer not set on Response """

```

Where i went wrong, please suggest me.