(self, request, **kwargs)
return self.create_response(
            request, to_be_serialized, response_objects=objects)
Returns a serialized list of resources.

        Calls ``obj_get_list`` to provide the data, then handles that result
        set and serializes it.

        Should return a HttpResponse (200 OK).
Returns a serialized list of resources.
Returns a serialized list of resources .
def get_list(self, request, **kwargs):
        """
        Returns a serialized list of resources.

        Calls ``obj_get_list`` to provide the data, then handles that result
        set and serializes it.

        Should return a HttpResponse (200 OK).
        """
        # TODO: Uncached for now. Invalidation that works for everyone may be
        # impossible.
        base_bundle = self.build_bundle(request=request)
        objects = self.obj_get_list(
            bundle=base_bundle,
            **self.remove_api_resource_names(kwargs))
        sorted_objects = self.apply_sorting(objects, options=request.GET)

        paginator = self._meta.paginator_class(
            request.GET,
            sorted_objects,
            resource_uri=self.get_resource_uri(),
            limit=self._meta.limit,
            max_limit=self._meta.max_limit,
            collection_name=self._meta.collection_name)
        to_be_serialized = paginator.page()

        to_be_serialized = self.alter_list_data_to_serialize(
            request,
            to_be_serialized)

        return self.create_response(
            request, to_be_serialized, response_objects=objects)
def get_list ( self , request , * * kwargs ) : # TODO: Uncached for now. Invalidation that works for everyone may be # impossible. base_bundle = self . build_bundle ( request = request ) objects = self . obj_get_list ( bundle = base_bundle , * * self . remove_api_resource_names ( kwargs ) ) sorted_objects = self . apply_sorting ( objects , options = request . GET ) paginator = self . _meta . paginator_class ( request . GET , sorted_objects , resource_uri = self . get_resource_uri ( ) , limit = self . _meta . limit , max_limit = self . _meta . max_limit , collection_name = self . _meta . collection_name ) to_be_serialized = paginator . page ( ) to_be_serialized = self . alter_list_data_to_serialize ( request , to_be_serialized ) return self . create_response ( request , to_be_serialized , response_objects = objects )