(self, request, **kwargs)
return self.create_response(request, to_be_serialized)
Exactly copied from https://github.com/toastdriven/django-tastypie/blob/v0.9.14/tastypie/resources.py#L1262
        (BSD licensed) and modified to pass the kwargs to `get_resource_list_uri`
        (tracked by https://github.com/toastdriven/django-tastypie/pull/815)
Exactly copied from https://github.com/toastdriven/django-tastypie/blob/v0.9.14/tastypie/resources.py#L1262
        (BSD licensed) and modified to pass the kwargs to `get_resource_list_uri`
        (tracked by https://github.com/toastdriven/django-tastypie/pull/815)
Exactly copied from https : // github . com / toastdriven / django - tastypie / blob / v0 . 9 . 14 / tastypie / resources . py#L1262 ( BSD licensed ) and modified to pass the kwargs to get_resource_list_uri ( tracked by https : // github . com / toastdriven / django - tastypie / pull / 815 )
def get_list(self, request, **kwargs):
        """
        Exactly copied from https://github.com/toastdriven/django-tastypie/blob/v0.9.14/tastypie/resources.py#L1262
        (BSD licensed) and modified to pass the kwargs to `get_resource_list_uri`
        (tracked by https://github.com/toastdriven/django-tastypie/pull/815)
        """
        # 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_list_uri(request, kwargs), limit=self._meta.limit, max_limit=self._meta.max_limit, collection_name=self._meta.collection_name)
        to_be_serialized = paginator.page()

        # Dehydrate the bundles in preparation for serialization.
        bundles = []

        for obj in to_be_serialized[self._meta.collection_name]:
            bundle = self.build_bundle(obj=obj, request=request)
            bundles.append(self.full_dehydrate(bundle))

        to_be_serialized[self._meta.collection_name] = bundles
        to_be_serialized = self.alter_list_data_to_serialize(request, to_be_serialized)
        return self.create_response(request, to_be_serialized)
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_list_uri ( request , kwargs ) , limit = self . _meta . limit , max_limit = self . _meta . max_limit , collection_name = self . _meta . collection_name ) to_be_serialized = paginator . page ( ) # Dehydrate the bundles in preparation for serialization. bundles = [ ] for obj in to_be_serialized [ self . _meta . collection_name ] : bundle = self . build_bundle ( obj = obj , request = request ) bundles . append ( self . full_dehydrate ( bundle ) ) to_be_serialized [ self . _meta . collection_name ] = bundles to_be_serialized = self . alter_list_data_to_serialize ( request , to_be_serialized ) return self . create_response ( request , to_be_serialized )