1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-07-17 19:52:25 +03:00

Udpate docstring

This commit is contained in:
Tom Christie 2015-01-05 15:04:01 +00:00
parent b6ca7248eb
commit 6fd33ddea9

View File

@ -236,11 +236,11 @@ class BaseSerializer(Field):
class SerializerMetaclass(type): class SerializerMetaclass(type):
""" """
This metaclass sets a dictionary named `base_fields` on the class. This metaclass sets a dictionary named `_declared_fields` on the class.
Any instances of `Field` included as attributes on either the class Any instances of `Field` included as attributes on either the class
or on any of its superclasses will be include in the or on any of its superclasses will be include in the
`base_fields` dictionary. `_declared_fields` dictionary.
""" """
@classmethod @classmethod