diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py index a8f6e9df2..a29e7da81 100644 --- a/rest_framework/serializers.py +++ b/rest_framework/serializers.py @@ -1027,7 +1027,7 @@ class ModelSerializer(Serializer): set of fields, but also takes into account the `Meta.fields` or `Meta.exclude` options if they have been specified. """ - fields = getattr(self.Meta, 'fields', None) + fields = getattr(self.Meta, 'fields', getattr(self.Meta, 'include', None)) exclude = getattr(self.Meta, 'exclude', None) if fields and fields != ALL_FIELDS and not isinstance(fields, (list, tuple)):