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 0dce352e14..e35e04440d 100644 --- a/rest_framework/serializers.py +++ b/rest_framework/serializers.py @@ -1082,7 +1082,7 @@ def get_field_names(self, declared_fields, info): # 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) 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