1👍
✅
Django escapes it. If you are sure about your json content you can use
var treeData = [
{
{{ json_string|safe }}
}
];
Source:stackexchange.com
1👍
Django escapes it. If you are sure about your json content you can use
var treeData = [
{
{{ json_string|safe }}
}
];