DEV Community

Uhtred M.
Uhtred M.

Posted on

How to dynamically serialize model fields in Django REST Framework

So, how about a scenario that we define our serializer class to access all fields in the model, but we choose which fields to be serialized when we instantiate the serializer class?

Know more reading the full article here!

Top comments (0)