title: Search ListAPIView in Django Rest API
body: <p>I want to filter the list view using API View. But it is not filtering according to query.  How can i do search query. Can <code>ListAPIView</code> method will be <code>POST</code></p>
  
  <pre><code># Jobs API
      class JobsListAPIView(generics.ListAPIView):
          serializer_class = JobListSerialzer
          # pagination_class = ListLimitOffsetPagination
          permission_classes = [UserIsAuthenticated]
  
          def get_queryset(self, *args, **kwargs):
              # print('self.request.auth', self.request.auth.application.user.userprofile.user_company.id)
  
              qs = Jobs.objects.exclude(job_is_deleted = True).filter(
                  job_company = self.request.auth.application.company
              )
  
              query = self.request.data.get("query")
              print('query: ', query)
  
              if query:
                  qs = qs.filter(job_status=query)
  
              return qs
  </code></pre>