Fix comment typo in ModelSerializer (#5844)

This commit is contained in:
Oliver Newman 2018-02-21 07:39:53 -08:00 committed by Carlton Gibson
parent ea7d414b28
commit d2994e0596

View File

@ -1082,7 +1082,7 @@ class ModelSerializer(Serializer):
# Ensure that all declared fields have also been included in the # Ensure that all declared fields have also been included in the
# `Meta.fields` option. # `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 # in order to allow serializer subclasses to only include
# a subset of fields. # a subset of fields.
required_field_names = set(declared_fields) required_field_names = set(declared_fields)