On Fri, 2011-01-21 at 07:33 +0530, Kenneth Gonsalves wrote: > On Thu, 2011-01-20 at 19:04 +0000, Trevor Stanley wrote: > > ft = Fringe.objects.select_related().filter(id=self.id).values() > > AttributeError: 'str' object has no attribute 'id' > > maybe filter(id=self.fringe) or (id=self.fringe_id)
no - that is wrong. filter(id__in=self.fringe.all()) -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- 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.