Serpy
Serpy in which it is:
- Faster serializer.
- Easy to use.
- It includes custom fields.
- It includes dynamic field resolution.
It is weak in:
- Telling Django which fields include and which do not on the ORM.
When uses Serpy?
When you need to serialize and GET request.
When does not use Serpy?
When you need the serialize to create or update a row in the database, it is in the POST and PUT methods, you must use DRF Serializer instead.
fields
Read this.
Custom fields
Read this.