diff options
| author | Tom Christie | 2012-12-14 20:12:50 +0000 | 
|---|---|---|
| committer | Tom Christie | 2012-12-14 20:12:50 +0000 | 
| commit | 65f7aa021450f86eaa7d9ac1a061138a71d20737 (patch) | |
| tree | e756448769d347c966070a6a326aa41764beeab8 /rest_framework/pagination.py | |
| parent | 3c31222a415d5454cb458fc397c50ad848db1584 (diff) | |
| download | django-rest-framework-65f7aa021450f86eaa7d9ac1a061138a71d20737.tar.bz2 | |
Drop unneeded passing through of kwargs now context issue is resolved.
Diffstat (limited to 'rest_framework/pagination.py')
| -rw-r--r-- | rest_framework/pagination.py | 2 | 
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):          """ | 
