diff --git a/django/contrib/gis/db/models/fields.py b/django/contrib/gis/db/models/fields.py index 157deaee88..a639f3c176 100644 --- a/django/contrib/gis/db/models/fields.py +++ b/django/contrib/gis/db/models/fields.py @@ -288,8 +288,7 @@ class GeometryField(GeoSelectFormatMixin, BaseSpatialField): def from_db_value(self, value, expression, connection, context): if value: - if not isinstance(value, Geometry): - value = Geometry(value) + value = Geometry(value) srid = value.srid if not srid and self.srid != -1: value.srid = self.srid