Skip to content

Serializers

A serializer is an element (a class in this case) that translates an object (Object-oriented programming) and generates an output that should be useful for something. In Django, a serializer is used to format the object before it is sent. We are using the Django Rest Framework Serializers for POST and PUT methods, and for the GET method we are using Serpy because it is faster than DRF Serializers.

Related articles:

Writing Serializers

Read this.

Where are the serializers?

They are located in breathecode/APP_NAME/serializers.py.