fix routes
This commit is contained in:
SDE
2023-07-27 14:59:54 +03:00
parent e420dc17f2
commit d90d2ef671

View File

@@ -51,7 +51,7 @@ def get_routes_ajax(request):
route.to_city = City.objects.get(id=route.to_address_point)
route.from_country = route.from_city.country
route.to_country = route.from_city.country
route.to_country = route.to_city.country
except Exception as e:
msg = f'get route points = {str(e)}'
print(msg)