ORM Dynamic Select & Prefetch Related for serializers

I’ve written a simple tool to improve ORM performance by automating select and prefetch field list generation for serializers. I couple this with viewsets & serializers to improve nested data serialization performance.

You can find the script here - Django Dynamic ORM.

Hope you find it useful!

2 Likes