Glossary: Django Beyond the Basics
read_only_fields
Also written: read_only=True
A serializer option that marks fields as output only, so incoming data cannot set them. It stops customers from marking an order `shipped`.
Glossary: Django Beyond the Basics
Also written: read_only=True
A serializer option that marks fields as output only, so incoming data cannot set them. It stops customers from marking an order `shipped`.