Commit 65f7aa02 by Tom Christie

Drop unneeded passing through of kwargs now context issue is resolved.

parent 3c31222a
......@@ -62,7 +62,7 @@ class BasePaginationSerializer(serializers.Serializer):
super(BasePaginationSerializer, self).__init__(*args, **kwargs)
results_field = self.results_field
object_serializer = self.opts.object_serializer_class
self.fields[results_field] = object_serializer(source='object_list', **kwargs)
self.fields[results_field] = object_serializer(source='object_list')
def to_native(self, obj):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment