aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorTom Christie2015-01-05 15:04:01 +0000
committerTom Christie2015-01-05 15:04:01 +0000
commit6fd33ddea9e5b8f9e979e573a27873131846ea48 (patch)
treeaf036c0a41c61db1f0a8e36519bfe6c6b783bd3d /rest_framework
parentb6ca7248ebcf95a95e1911aa0b130f653b8bf690 (diff)
downloaddjango-rest-framework-6fd33ddea9e5b8f9e979e573a27873131846ea48.tar.bz2
Udpate docstring
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/serializers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py
index 53f092d7..e373cd10 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