Commit a8deb380 by Tom Christie

Merge pull request #3660 from sloria/patch-1

Fix typo in docstring for ReadOnlyField
parents f30f25fa b209fe04
...@@ -1565,7 +1565,7 @@ class ReadOnlyField(Field): ...@@ -1565,7 +1565,7 @@ class ReadOnlyField(Field):
For example, the following would call `get_expiry_date()` on the object: 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') 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