django-geosimple
django-geosimple copied to clipboard
Feature Request: Support for JOIN queries
I am trying to run this query
queryset = models.Company.objects
queryset = queryset.filter(addresses__location__approx_distance_lt=((latitude, longitude), radius))
but I am getting the following error
FieldError: Unsupported lookup 'approx_distance_lt' for GeohashField or join on the field not permitted.
Additionally it's important that annotation of the distance still works on the returned results