[Answered ]-Parsing Api Response Django Module

2👍

You’ve appended the list of cards to an empty list, so now data is a list consisting of a single item, which is itself a list. Instead, you just want to send the cards list itself to the template.

return render(request, 'graphs/graphs.html', {'data': cards})

Leave a comment