From 96972d4c3b171969e43a051b114205281881bf57 Mon Sep 17 00:00:00 2001 From: through-your-tears Date: Sat, 6 Apr 2024 21:36:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B3=20=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/organizations/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/organizations/services.py b/src/organizations/services.py index cb4f074..5289f33 100644 --- a/src/organizations/services.py +++ b/src/organizations/services.py @@ -44,7 +44,7 @@ def parse_organizations_to_db(data): for obj in data[k]: OrganizationRepository.create( location=LocationRepository.get_or_create( - coords=Point(obj['latitude'], obj['longitude']), + coords=Point(float(obj['latitude']), float(obj['longitude'])), address=obj['street'] + obj['housenumber'] ), name=obj['name'],