On 1/18/07, David Zhou <[EMAIL PROTECTED]> wrote:
What is the recommended method to slice querysets into multiple
chunks?  To do 1:10 and explicitly turn the set into a list, slicing
that, and passing it into context? Would that still work in
templates?

Yep.

result = list(qs) <-- forces eval, turns into a normal list of model objects.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to