Chartjs-Unable to access list elements in Django Webpage

0đź‘Ť

if you’re looping though a dict, you want to use this syntax to access the data:

{%for key, value in data%}
var key = {{key}}, var value = {{value}}
{%endfor%}

Leave a comment