1👍
chartData
is a list of tuples, not a dict. You need something like this in your template:
{% for row in chartData %}
console.log("{{ row.0 }}", "{{ row.1 }}");
{% endfor %}
- [Answer]-The missing django-allauth tutorial : create a few records in our database
- [Answer]-Accessing dictionary values in django template
Source:stackexchange.com