I love the ability to get the latest object in a collection..

entry_list.latest()

and was curious if there is a way to get more than 1 object. For
example, if I want the last 5 entries of a blog, is there something
like

entry_list.latest(5)

I know that doesn't work, but is there an easy way to do this?


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to