From 808d44555cb6f6f01a48889141728aae922de605 Mon Sep 17 00:00:00 2001 From: SDE Date: Mon, 17 Feb 2025 15:23:11 +0300 Subject: [PATCH] 2.1.35 route_search_results_View fix cities --- RoutesApp/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RoutesApp/views.py b/RoutesApp/views.py index 3a8bf36..feaa981 100644 --- a/RoutesApp/views.py +++ b/RoutesApp/views.py @@ -51,7 +51,7 @@ def route_search_results_View(request): to_city = get_city_by_id(data['to_city']) data.update({'to_city': to_city}) - Dict.update({'route_form': RouteForm(initial=data, owner_type=owner_type)}) + Dict.update({'form': RouteForm(initial=data, owner_type=owner_type)}) title = _('Результат поиска маршрутов') if from_city: