May 2018
Beginner to intermediate
526 pages
11h 57m
English
After setting up REST framework, we need to specify how our data will be serialized. Output data has to be serialized in a specific format, and input data will be de-serialized for processing. The framework provides the following classes to build serializers for single objects:
Let's build our first serializer. Create the following file structure inside the courses application directory:
api/ __init__.py serializers.py
We will build all the API functionality inside ...
Read now
Unlock full access