1👍
✅
You want to use only():
objects = Model.objects.select_related().only(“bar”).filter(…)
Keep in mind however if you limit too much of the data down and then use the objects in other ways you can actually cause the ORM to execute extra queries, so make sure to be using something like django-debug-toolbar to ensure you aren’t removing these unnecessary fields to only incur the hit of lots of unnecessary queries which is a worse situation.
FYI you can also use defer() to list the fields you don’t want loaded if you want to think about it in the other direction.
Source:stackexchange.com