Ticket #10594: fix_null_geometry_querysets.diff
File fix_null_geometry_querysets.diff, 610 bytes (added by , 15 years ago) |
---|
-
contrib/gis/db/models/sql/query.py
233 233 extra selection objects into Geometry and Distance objects. 234 234 TODO: Make converted objects 'lazy' for less overhead. 235 235 """ 236 if value == None: 237 return value 238 236 239 if SpatialBackend.oracle: 237 240 # Running through Oracle's first. 238 241 value = super(GeoQuery, self).convert_values(value, field or GeomField())