remove new_serialize, this is now the new standard

This commit is contained in:
Laura Klünder 2024-12-04 15:48:48 +01:00
parent c1eb47a0e0
commit 3ab84b6e8d
9 changed files with 1 additions and 51 deletions

View file

@ -100,8 +100,6 @@ class Building(LevelGeometryMixin, models.Model):
"""
The outline of a building on a specific level
"""
new_serialize = True
geometry = GeometryField('polygon')
class Meta:
@ -114,8 +112,6 @@ class Space(LevelGeometryMixin, SpecificLocation, models.Model):
"""
An accessible space. Shouldn't overlap with spaces on the same level.
"""
new_serialize = True
geometry = GeometryField('polygon')
height = models.DecimalField(_('height'), max_digits=6, decimal_places=2, null=True, blank=True,
validators=[MinValueValidator(Decimal('0'))])
@ -150,8 +146,6 @@ class Door(LevelGeometryMixin, AccessRestrictionMixin, models.Model):
"""
A connection between two spaces
"""
new_serialize = True
geometry = GeometryField('polygon')
class Meta: