django-threadedcomments
django-threadedcomments copied to clipboard
Consider using select_related()
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.