create_or_change_route_ajax add route id to response
This commit is contained in:
SDE
2023-11-18 16:26:49 +03:00
parent ce230e80a5
commit b8790be7fe

View File

@@ -250,7 +250,8 @@ def create_or_change_route_ajax(request, route_id=None):
html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request) html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request)
res_Dict = { res_Dict = {
'html': html 'html': html,
'route_id': route_id
} }
return JsonResponse(res_Dict) return JsonResponse(res_Dict)