new serializer for all locations

This commit is contained in:
Laura Klünder 2024-12-03 18:42:33 +01:00
parent 38b4fbe1f0
commit b47e97bb81
9 changed files with 87 additions and 45 deletions

View file

@ -309,8 +309,10 @@ class LineObstacle(SpaceGeometryMixin, models.Model):
class POI(SpaceGeometryMixin, SpecificLocation, models.Model):
"""
An point of interest
A point of interest
"""
new_serialize = True
geometry = GeometryField('point')
class Meta: