Should I report it? who should I contact? Anyone can confirm this is a bug?
2010/10/23 Miguel Araujo <muchoch...@gmail.com> > Thanks Karen, you are right. But I missed the underscore for sending this, > although I was trying here with double underscore: > > So If I do it right: > > Item.objects.filter(location__point__distance__lte = (point, D(km=10))) > > I get: > > FieldError: Join on field 'point' not permitted. Did you misspell > 'distance' for the lookup type? > > So it's still not working. > > Regards, > Miguel Araujo > > 2010/10/23 Karen Tracey <kmtra...@gmail.com> > > On Sat, Oct 23, 2010 at 1:07 PM, Miguel Araujo <muchoch...@gmail.com>wrote: >> >>> Item.objects.filter(location__point__distance_lte = (point, D(km=10))) >>> >> >> Looks like you are missing an underscore in distance__lte >> >> Karen >> -- >> http://tracey.org/kmt/ >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.