You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
due to checkout_position is not required field, so we never send any value like the None, '', [], (), {} in the request if we do not need to the checkout_position data, but if we need to the checkout_position data, we send data like the following:
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 text was updated successfully, but these errors were encountered: