Commit b209fe04 by Steven Loria

Fix typo in docstring for ReadOnlyField

parent f30f25fa
......@@ -1565,7 +1565,7 @@ class ReadOnlyField(Field):
For example, the following would call `get_expiry_date()` on the object:
class ExampleSerializer(self):
class ExampleSerializer(Serializer):
expiry_date = ReadOnlyField(source='get_expiry_date')
"""
......
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