Consider using select_related()
eriktelepovsky opened this issue · 0 comments
eriktelepovsky commented
Hi. Imagine a list of comments with a big number of instances. In such case, there is additional query required for each comment for a user field.
It can be optimised by select_related('user')
approach.