I actually went to the shell and looked at my evts with "dir(evts)" and 
it looked like a simple list so I thought slicing would be no problem.

Thanks for explaining what was really going on.

-Rob

Malcolm Tredinnick wrote:
> I suspect we might be seeing this sort of question a bit now. You have a
> line in your code that says
> 
>         evts = Event.objects.all().order_by('date_from')
> 
> At this point, evts is a QuerySet. Which means it is an object that
> *can* be evaluated to produce you results. In particular, it provides an
> iterator interface so you can loop over your results, etc.


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

Reply via email to