From c66ea931a1ba7f3bbc2e75d562d3a641291d67ad Mon Sep 17 00:00:00 2001 From: Oliver Newman Date: Tue, 20 Feb 2018 13:07:51 -0800 Subject: [PATCH] Fix comment typo in ModelSerializer --- rest_framework/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py index 0dce352e1..e35e04440 100644 --- a/rest_framework/serializers.py +++ b/rest_framework/serializers.py @@ -1082,7 +1082,7 @@ class ModelSerializer(Serializer): # Ensure that all declared fields have also been included in the # `Meta.fields` option. - # Do not require any fields that are declared a parent class, + # Do not require any fields that are declared in a parent class, # in order to allow serializer subclasses to only include # a subset of fields. required_field_names = set(declared_fields)