I have a geoposition field that contains lat,long value of a point.
>> object.location
>>11.23,21.23
>>object.location.latitude
>> 11.23
I have tried
queryset.filter(location__latitude__lte=20.00)
but its not working.
I have a geoposition field that contains lat,long value of a point.
>> object.location
>>11.23,21.23
>>object.location.latitude
>> 11.23
I have tried
queryset.filter(location__latitude__lte=20.00)
but its not working.