title: Using django RESTful api to get data and show it in a table?
body: <p>I am using REST api to get data from a mongodb on a server. Currently I can display the data from mongodb on to a browser using django rest framework, but this data is shown in JSON format.
  I want to display this data it in a table.</p>
  <p>I am still not clear on how to use this data in a template rather than just return a response that throws data onto a browser.Do I use a serializer for this ?</p>
  <p>A google search revealed these 2 results:</p>
  <blockquote>
  <p><a href="https://stackoverflow.com/questions/7287027/displaying-a-table-in-django-from-database">Displaying a Table in Django from Database</a></p>
  <p><a href="http://django-tables2.readthedocs.org/en/latest/#tutorial" rel="nofollow noreferrer">http://django-tables2.readthedocs.org/en/latest/#tutorial</a></p>
  </blockquote>
  <p>Both the code assume that the model is defined within the Django, but I am using the REST to get data.</p>
  <p>I am using class based views and mixins as shown below for processing http requests on</p>
  <pre><code>class RestDjango(View, RequestMixin, ResponseMixin):
      .........
      ......... 
  </code></pre>
  <p>p.s:
  I am using 0.3.3 version of Django REST Framework.
  I am new to REST so please feel free to point me to any tutorials/articles to help me.</p>