On Nov 29, 2010, at 12:50 PM, Ivan Sagalaev wrote:
> Looks like you're indeed missing queryset slicing[1]. It is lazy.
>
> [1]:
> http://docs.djangoproject.com/en/dev/topics/db/queries/#limiting-querysets
Bah, I was confusing indexing (not lazy) and slicing (lazy). Never mind, and
thanks. :)
On 11/29/2010 11:31 PM, Christophe Pettus wrote:
Before I put any work into this, I want to know if (a) I'm missing something
super-obvious in the QuerySet functionality, or (b) this idea has already been
explored and rejected.
Hi Christophe,
Looks like you're indeed missing queryset slicing
Hi,
Before I put any work into this, I want to know if (a) I'm missing something
super-obvious in the QuerySet functionality, or (b) this idea has already been
explored and rejected.
Sometimes, it would be nice to get a slice of a QuerySet but *not* actually
evaluate the QuerySet; instead, lea