diff options
| author | Tom Christie | 2015-01-05 15:03:09 +0000 |
|---|---|---|
| committer | Tom Christie | 2015-01-05 15:03:09 +0000 |
| commit | 49dc037a961b618baf8eb189b094633238867b41 (patch) | |
| tree | 0e03a1ae16747c4398571c972774abd7dd96398b /rest_framework/serializers.py | |
| parent | 17665aa52a9cd5599099c19fd8f54540a5d436ce (diff) | |
| download | django-rest-framework-49dc037a961b618baf8eb189b094633238867b41.tar.bz2 | |
Update docstring
Diffstat (limited to 'rest_framework/serializers.py')
| -rw-r--r-- | rest_framework/serializers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py index 623ed586..08a58433 100644 --- a/rest_framework/serializers.py +++ b/rest_framework/serializers.py @@ -236,11 +236,11 @@ class BaseSerializer(Field): 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 or on any of its superclasses will be include in the - `base_fields` dictionary. + `_declared_fields` dictionary. """ @classmethod |
