aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2012-12-14 20:12:50 +0000
committerTom Christie2012-12-14 20:12:50 +0000
commit65f7aa021450f86eaa7d9ac1a061138a71d20737 (patch)
treee756448769d347c966070a6a326aa41764beeab8
parent3c31222a415d5454cb458fc397c50ad848db1584 (diff)
downloaddjango-rest-framework-65f7aa021450f86eaa7d9ac1a061138a71d20737.tar.bz2
Drop unneeded passing through of kwargs now context issue is resolved.
-rw-r--r--rest_framework/pagination.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/pagination.py b/rest_framework/pagination.py
index 7d7bb647..d241ade7 100644
--- a/rest_framework/pagination.py
+++ b/rest_framework/pagination.py
@@ -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):
"""