title: django rest framework ListAPIView returning no value
body: <p>I am using django reset framework to create an API.</p>
  
  <p>Here is my <code>Serializer.py</code></p>
  
  <pre><code>class ArticleSerializer(serializers.Serializer):
      class Meta:
          model = Article
          fields = ("title", "content")
  </code></pre>
  
  <p><code>views.py</code></p>
  
  <pre><code>class ArticleListView(ListAPIView):
      queryset = Article.objects.all()
      serializer_class = ArticleSerializer
  
  class ArticleDetailView(RetrieveAPIView):
      queryset = Article.objects.all()
      serializer_class = ArticleSerializer
  </code></pre>
  
  <p><code>urls.py</code></p>
  
  <pre><code>from .views import ArticleListView, ArticleDetailView
      urlpatterns = [
          path('', ArticleListView.as_view() ),
          path('&lt;pk&gt;', ArticleDetailView.as_view() ),
      ]
  </code></pre>
  
  <p>When I pull up <code>http://127.0.0.1:8000/api/</code>, there are 3 objects of Article model in DB and all what I get is this: </p>
  
  <pre><code> [ 
      {},
      {},
      {}
   ]
  </code></pre>
  
  <p><code>models.py</code> </p>
  
  <pre><code>    class Article(models.Model):
          title = models.CharField(max_length=120)
          content = models.TextField()
  
          def __str__(self):
              return self.title
  </code></pre>
  
  <p>Why can't I see the values of the <code>title</code> and <code>content</code> of my class ?</p>