On Wed, 2008-11-19 at 17:46 +0000, Martin Green wrote: > Thanks Rajesh, > > That should sort out my problem. > > As a side note, it seems 'base' and 'base__inherited' appear to do the > same thing:
This is true because the SQL query is filtering on primary key values and both the Base instance and the related Inherited instance have the same primary key value (they have different primary key fields, since they're distinct models, but the value in the two fields is the same). Django will even optimise the generated SQL to not bother joining on the Inherited table in that case. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

