route/freqs/ tweak0.2
This commit is contained in:
parent
2ff27c5e3f
commit
3ff07f1acc
|
@ -292,7 +292,7 @@ def route_headway(request, code):
|
||||||
return render_to_json_response(
|
return render_to_json_response(
|
||||||
{
|
{
|
||||||
'route': route.get_dict(),
|
'route': route.get_dict(),
|
||||||
'frequency': str(min(frequencies)) + "-" + str(max(frequencies)) if min(frequencies)!=max(frequencies) else max(frequencies)
|
'frequency': str(min(frequencies)) + "-" + str(max(frequencies)) if min(frequencies)!=max(frequencies) else str(max(frequencies))
|
||||||
#'scheds': [ (s.headway1, s.headway2, s.headway3, s.headway4, str(s.unique_route) ) for s in scheds]
|
#'scheds': [ (s.headway1, s.headway2, s.headway3, s.headway4, str(s.unique_route) ) for s in scheds]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user