Merge pull request #3660 from sloria/patch-1

Fix typo in docstring for ReadOnlyField
This commit is contained in:
Tom Christie 2015-11-21 10:09:26 +00:00
commit a8deb380ff

View File

@ -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')
""" """