          url = request and request.build_absolute_uri() or ''
          return replace_query_param(url, self.page_field, page)
  
  
  class DefaultObjectSerializer(serializers.ReadOnlyField):
      """
      If no object serializer is specified, then this serializer will be applied
      as the default.
      """
  
 
</s> remove         self.fields[results_field].bind(field_name=results_field, parent=self)
 </s> add  </s> remove 
    def __init__(self, source=None, many=None, context=None):
        # Note: Swallow context and many kwargs - only required for
        # eg. ModelSerializer.
        super(DefaultObjectSerializer, self).__init__(source=source)
 </s> add     def to_representation(self, value):
        return value </s> remove             child=object_serializer(),
 </s> add             child=object_serializer(*args, **kwargs),
class DefaultObjectSerializer(serializers.Serializer):
          url = request and request.build_absolute_uri() or ''
          return replace_query_param(url, self.page_field, page)
  
  
class DefaultObjectSerializer(serializers.Serializer):
      """
      If no object serializer is specified, then this serializer will be applied
      as the default.
      """
  
keep keep keep keep replace keep keep keep keep keep
 Pass init arguments through to serializer from pagination serializer.

Closes #2355.

Normally a serializer won't need these arguments on __init__, but
if a user has customized __init__ they may expect them to be available. 
rest_framework/pagination.py