The following error occurs if we have a nullable PointField on the model:
IndexError: invalid GEOS Geometry index: 0
Model field:
checkout_position = models.PointField(geography=True, null=True, blank=True)
Serializer field:
checkout_position = PointField(required=False)
The following error occurs if we have a nullable
PointFieldon the model:IndexError: invalid GEOS Geometry index: 0Model field:
checkout_position = models.PointField(geography=True, null=True, blank=True)Serializer field:
checkout_position = PointField(required=False)