mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Fix comment typo in ModelSerializer (#5844)
This commit is contained in:
parent
ea7d414b28
commit
d2994e0596
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user