I completely agree with Gary's argumentation here. And I would love to see
.limit() introduced (or array slicing adapted).
I ran into a situation where I have access into intermediate queryset()
construction, where I normally do add .filter() statements, but now I had
to limit a number of queri
Yup, qs.prefetch_related('best_pizza__toppings__topping_type',
use_select_related=True) looks good enough for many cases.
We have a lot of cases in the code where this would save many queries.
On Tuesday, November 27, 2012 2:57:16 PM UTC, Anssi Kääriäinen wrote:
>
> On 26 marras, 21:36, tolomea