0.6.8
find routes page
This commit is contained in:
@@ -20,11 +20,12 @@ def route_search_results_View(request):
|
||||
if request.GET:
|
||||
data = request.GET.dict()
|
||||
|
||||
routes = get_routes_Dict(data=data)
|
||||
if routes:
|
||||
routes_Dict = get_routes_Dict(data=data)
|
||||
if routes_Dict:
|
||||
Dict = {
|
||||
'routes': routes['routes'],
|
||||
'form': RouteForm(initial=data)
|
||||
'routes': routes_Dict['routes'],
|
||||
'form': RouteForm(initial=data),
|
||||
'last_block_routes': routes_Dict['last_block_routes']
|
||||
}
|
||||
|
||||
t = loader.get_template('pages/p_results_find_route.html')
|
||||
|
||||
Reference in New Issue
Block a user