About This Talk
Django’s prefetch_related
system is great and makes it simple to fetch the data you need in an efficient manner. Taking a look at how Django implements this can actually help improve your own code!
In this talk, we’ll do a deep dive into Django’s implementation of prefetch_related
. We’ll then look at ways to make use of that knowledge including:
- Avoiding common pitfalls when working with prefetched data.
- Defining our own descriptors which can be prefetched.
- Composing and manipulating
prefetch_related
data
Presenters
Mike Hansen
Mike is a long-time Django and Python user. He’s currently a software engineer at Rover where he’s been able to use Django for the last 5 years to help everyone be able to experience the love of dogs. Outside of work, he loves playing board games, doing math, and taking his two chihuahuas, Megatron and Myoki, on hikes.