Re: database querying

2006-10-19 Thread [EMAIL PROTECTED]
Thanks this was what i was searching for, richard --~--~-~--~~~---~--~~ 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 g

Re: database querying

2006-10-19 Thread Zak Johnson
[EMAIL PROTECTED] wrote: > Is there a way to combine objects.filter with objects.latest ? objects.filter returns a QuerySet: Info.objects.filter(lab_id=100).latest('dtm_insert') -Zak --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

database querying

2006-10-19 Thread [EMAIL PROTECTED]
Hello Django users, I'm a newby in using django and in need of some help with querying the database. Is there a way to combine objects.filter with objects.latest ? I need that for the following model. In this model there is a oppurtunity to have multiple lab_id. And also a oppurtunity to have m