mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Merge pull request #4762 from nikolas/patch-6
docs: typo fix: it's -> its
This commit is contained in:
commit
b52de0a871
|
@ -1652,7 +1652,7 @@ class ReadOnlyField(Field):
|
||||||
A read-only field that simply returns the field value.
|
A read-only field that simply returns the field value.
|
||||||
|
|
||||||
If the field is a method with no parameters, the method will be called
|
If the field is a method with no parameters, the method will be called
|
||||||
and it's return value used as the representation.
|
and its return value used as the representation.
|
||||||
|
|
||||||
For example, the following would call `get_expiry_date()` on the object:
|
For example, the following would call `get_expiry_date()` on the object:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user