From 4e2f80ef3db50d22a9e38d7d0c5800b90de6e240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=8D?= <79096808+0321minji@users.noreply.github.com> Date: Mon, 19 Aug 2024 23:22:10 +0900 Subject: [PATCH] #71 fix : modify locationserializer integer to float (#83) --- lands/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lands/views.py b/lands/views.py index 91ccf53..1f0dc52 100644 --- a/lands/views.py +++ b/lands/views.py @@ -31,9 +31,9 @@ class ItemImageSerializer(serializers.Serializer): image = serializers.ImageField() class LocationSerializer(serializers.Serializer): - x = serializers.IntegerField() - y = serializers.IntegerField() - z = serializers.IntegerField() + x = serializers.FloatField() + y = serializers.FloatField() + z = serializers.FloatField() show = serializers.BooleanField() class ItemSerializer(serializers.Serializer):