title: QuerySet object has no attribute serialize
body: <blockquote>
    <p>views.py</p>
  </blockquote>
  
  <pre><code>import json
  from django.shortcuts import get_object_or_404
  from django.core.serializers import serialize
  from django.shortcuts import render
  from django.http import JsonResponse, HttpResponse
  from django.views.generic import View
  from RestAPI.mixin import JsonResponseMixIn
  from .models import Update   
  
  class SerializedListView(View):
      def get(self , request , *args , **kwargs):
          qs = Update.objects.all()
          qs = qs.serialize() #error in this line
          return HttpResponse(qs , content_type="application/json")
  </code></pre>
  
  <p>serialize method is working fine with get() method but it throws an error in all() method</p>
  
  <p>Exception Value:<br>
  'QuerySet' object has no attribute 'serialize'</p>
  
  <blockquote>
    <p>models.py</p>
  </blockquote>
  
  <pre><code>import json
  from django.core.serializers import serialize
  from django.db import models
  from django.conf import settings
  
  # Create your models here.
  
  
  
  class UpdateQuerySet(models.QuerySet):
      def serialize(self):
          list_values = list(self.values("uesr","content","image"))
          return json.dumps(list_values)
  
  class UpdateManager(models.Manager):
      def get_queryset(self):
          return UpdateQuerySet(self.model, using=self._db)
  </code></pre>