use new serializer for buildings

This commit is contained in:
Laura Klünder 2024-12-03 16:56:55 +01:00
parent 1210b69bbf
commit c0e6b02dc2
2 changed files with 30 additions and 3 deletions

View file

@ -106,6 +106,8 @@ class Building(LevelGeometryMixin, models.Model):
"""
The outline of a building on a specific level
"""
new_serialize = True
geometry = GeometryField('polygon')
class Meta: