Django API

Hi I am stuck with decorator I am not getting why should I use Decorator for serialization in Django

A decorator property allows the serialization of an object to be split up across smaller units as independent functions. In contrast to jamming a bunch of logic in the constructor or one single method to serialize the object.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.