On 2/8/07, Henrik Lied <[EMAIL PROTECTED]> wrote: > > Hi there! > > I guess I'll have to call Entry.objects.filter(ARGS HERE), but exactly > what args I should use I don't know.
The easiest way is to use the ``latest`` operator: FrontPageEntry.objects.latest('added') This will return the entry with the most recent 'added' date. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---