From a1db8c10d35c0dad2d09b4feda548d223f106f54 Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Wed, 10 Jul 2024 14:05:39 +0200 Subject: [PATCH] add min and max zoom to area serializer --- backend/project/api/serializers/observations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/project/api/serializers/observations.py b/backend/project/api/serializers/observations.py index bc16b3f..131920e 100644 --- a/backend/project/api/serializers/observations.py +++ b/backend/project/api/serializers/observations.py @@ -109,4 +109,4 @@ def get_bbox(self, obj): class Meta: model = Area - fields = ("id", "name", "description", "bbox") + fields = ("id", "name", "description", "bbox", "min_zoom", "max_zoom")