2.1.4 def create_or_change_route_ajax v2
This commit is contained in:
@@ -78,10 +78,11 @@ def get_address_point_ajax(request):
|
||||
return JsonResponse(res_Dict)
|
||||
|
||||
except Exception as e:
|
||||
|
||||
msg = f'ошибка в запросе = {str(e)}'
|
||||
print(msg)
|
||||
errors_Dict = {
|
||||
'errors': {
|
||||
'all__': f'ошибка в запросе = {str(e)}'
|
||||
'all__': msg
|
||||
}
|
||||
}
|
||||
return JsonResponse(errors_Dict, status=400)
|
||||
Reference in New Issue
Block a user