Re: Retreiveing a QSet from a Parent Table

2006-11-12 Thread MerMer
Thanks Zac, that's exactly what I needed. MerMer --~--~-~--~~~---~--~~ 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 gr

Re: Retreiveing a QSet from a Parent Table

2006-11-10 Thread Zak Johnson
Merric Mercer wrote: > Can anybody recommend an elegant way to achieve point this. I can > retrieve the qs with all the related brand records but I cannot work > out how to retrieve the query set whilst omitting the related initial > record. > > Currently I have. > > 1. qs=Child.objects.get

Retreiveing a QSet from a Parent Table

2006-11-10 Thread Merric Mercer
Starting with specific record in a child table I need to do the the following. 1. Access a related field 'Brand Name' in the parent table. ( No problem) 2. Retrieve a query set of records in the Parent table that match the 'Brand Name'. (No Problem) BUT I want to exclude the initial reco