Contribute Media
A thank you to everyone who makes this possible: Read More

Django from queryset to serialization

Description

Django donĀ“t have an obvious way to avoid N+1 queries during objects serialization and it is easy to miss the right way in large projects.

This talk aims to show how I joined a project with a rudimentary serialization solution and improved it to be able to handle serializations without causing N+1 queries by accident, using django-qserializer (I'm the author).

I will discuss other solutions, how to do that with plain Django, how DRF do the same thing, how other libs can contribute or make your code worse.

Details

Improve this page