Viewing posts tagged Django Rest Framework
When using serializers with django rest framework
, retrieving all fields of the models might cause unnecessary traffic. This can be avoided with careful design.
Often we need to have custom fields that must be calculated dynamically. In Entity-Relationship model notation the fields are called Derived Attributes. Such fields are derived from other fields of the same entity (model) and they might change over time (age, for example). We can create dynamic fields in django in more than one way.
We develop web applications to our customers using python/django/angular.
Contact us at hello@cowhite.com