0.0.48
fix routes
This commit is contained in:
@@ -51,7 +51,7 @@ def get_routes_ajax(request):
|
|||||||
route.to_city = City.objects.get(id=route.to_address_point)
|
route.to_city = City.objects.get(id=route.to_address_point)
|
||||||
|
|
||||||
route.from_country = route.from_city.country
|
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:
|
except Exception as e:
|
||||||
msg = f'get route points = {str(e)}'
|
msg = f'get route points = {str(e)}'
|
||||||
print(msg)
|
print(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user