mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
commit
21cb808569
|
@ -273,7 +273,7 @@ If you want to implement a read-write relational field, you must also implement
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
For, example, we could define a relational field, to serialize a track to a custom string representation, using its ordering, title, and duration.
|
For example, we could define a relational field to serialize a track to a custom string representation, using its ordering, title, and duration.
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user