On Monday, January 17, 2011 3:33:36 PM UTC, ranadave wrote: > > Hi, > > Thanks for the reply. I am using an old version of Django so maybe they > got rid of it. > > What I have found out is that the object is found if I explicitly define a > through table. > > ie: > > zzz = models.ManyToManyField('xxx', through = 'zzz.xxx_linked', > related_name = 'xxx_of_zzz', blank = True) > > Works but > > zzz = models.ManyToManyField('xxx', related_name = 'xxx_of_zzz', blank = > True) > > Does not. > > Seems like a bug to me. > > Rana >
It might well be a bug, but _collect_sub_objects is not part of any published/documented API - as implied by the leading backslash - so you should not be relying on its behaviour. -- DR. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.