I have a point where the objcet is and another point for mylocation.
I want to calculate the distance
>> object_location <Point object at 0x7f9ceaac7be0> >> mylocation <Point object at 0x7f9cf9311b50> >> mylocation.distance(location) 0.13980702957351368
But the result is wrong is there some different way with geodjango to calculate the distance between two points
This way in ipdb is correct
ipdb> Item.objects.filter(id=self.object.id).distance(mylocation, field_name="address__location").distance Distance(m=15368.0088756)