I've been using PostGIS via GeoDjango (Django v3.0.7), happily until just now. I have a query (Django
.filter()) that looks like this:
when it invokes the PostgreSQL query I get this error:
django.db.utils.ProgrammingError: function ST_DistanceSphere(geometry, geometry) does not exist
dlPt is indeed a Point,
<class 'django.contrib.gis.geos.point.Point'>, and so are the
point attributes in the objects being searched.
Any ideas what the issue might be?