News for hackers. Stuff that matters.
Re:Django Rest Framework general model serializer by norbert_mate on Friday January 30, 2015 @07:20AM (#8971663)
In Django Rest Framework (DRF) you need serializer class. Maybe this is because DRF is not tightly coupled with the models from Django framework.

As far as I know DRF does not support PUT/UPDATE operations for nested serializers. But there are cases when you just need to read. Like getting an activity feed which can't be modified directly by the users. I think if you have a good caching system it's better to return all the data for one request instead of creating new requests to get details about each entity.

There are no comments on this comment yet.