Skip to content Skip to sidebar Skip to footer

Json.dump Not Converting Python List To JS Array

When I attempt to pass a python list through to JavaScript in the template it doesn't parse the list into an JS array as expected but instead returns this ["Groceries&

Solution 1:

{{labels | safe}}

Solved by @Klaus D.


Post a Comment for "Json.dump Not Converting Python List To JS Array"