ups, syntax
This commit is contained in:
parent
89b46e1bce
commit
9d2648e33c
|
@ -14,7 +14,7 @@ def route(request, slug):
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
def area(request, slug)
|
def area(request, slug):
|
||||||
area = get_object_or_404_json(Area, slug=slug)
|
area = get_object_or_404_json(Area, slug=slug)
|
||||||
stops = [stop.get_geojson() for stop in Stop.objects.filter(area=area)]
|
stops = [stop.get_geojson() for stop in Stop.objects.filter(area=area)]
|
||||||
return render_to_json_response({
|
return render_to_json_response({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user