hotfix_geometry_save_race_condition #246
@ -136,8 +136,6 @@ class AbstractModelAPISerializer:
|
|||||||
geometry = geos.fromstr(geojson)
|
geometry = geos.fromstr(geojson)
|
||||||
if geometry.srid != DEFAULT_SRID_RLP:
|
if geometry.srid != DEFAULT_SRID_RLP:
|
||||||
geometry.transform(DEFAULT_SRID_RLP)
|
geometry.transform(DEFAULT_SRID_RLP)
|
||||||
if geometry.empty:
|
|
||||||
geometry = None
|
|
||||||
return geometry
|
return geometry
|
||||||
|
|
||||||
def _get_obj_from_db(self, id, user):
|
def _get_obj_from_db(self, id, user):
|
||||||
|
Loading…
Reference in New Issue
Block a user