mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Udpate docstring
This commit is contained in:
parent
b6ca7248eb
commit
6fd33ddea9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user