Commit ab056893 by Tom Christie

Merge pull request #1454 from rhcarvalho/patch-2

Fix typo
parents 45ae5081 94fe0377
...@@ -758,7 +758,7 @@ class ModelSerializer(Serializer): ...@@ -758,7 +758,7 @@ class ModelSerializer(Serializer):
ret[accessor_name] = field ret[accessor_name] = field
# Add the `read_only` flag to any fields that have bee specified # Add the `read_only` flag to any fields that have been specified
# in the `read_only_fields` option # in the `read_only_fields` option
for field_name in self.opts.read_only_fields: for field_name in self.opts.read_only_fields:
assert field_name not in self.base_fields.keys(), ( assert field_name not in self.base_fields.keys(), (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment