Django 2

Resource Representations

API Views

Old way:

With DRF

Serializer

Take the models and serialize them to json format