Skip to content

Commit d2994e0

Browse files
orn688carltongibson
authored andcommitted
Fix comment typo in ModelSerializer (#5844)
1 parent ea7d414 commit d2994e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ def get_field_names(self, declared_fields, info):
10821082
# Ensure that all declared fields have also been included in the
10831083
# `Meta.fields` option.
10841084

1085-
# Do not require any fields that are declared a parent class,
1085+
# Do not require any fields that are declared in a parent class,
10861086
# in order to allow serializer subclasses to only include
10871087
# a subset of fields.
10881088
required_field_names = set(declared_fields)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy