From b8790be7fee5050c349f9935eb20767b9535efa0 Mon Sep 17 00:00:00 2001 From: SDE Date: Sat, 18 Nov 2023 16:26:49 +0300 Subject: [PATCH] 0.7.79 create_or_change_route_ajax add route id to response --- RoutesApp/js_views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RoutesApp/js_views.py b/RoutesApp/js_views.py index 03656a4..68dc8c2 100644 --- a/RoutesApp/js_views.py +++ b/RoutesApp/js_views.py @@ -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) res_Dict = { - 'html': html + 'html': html, + 'route_id': route_id } return JsonResponse(res_Dict)