1👍
✅
It’s a view. Django is explicitly not MVC.
But yes, there is a well-documented prefetch_related
method:
xes = X.objects.filter(iscool=True).prefetch_related('someField')
Source:stackexchange.com