So I have a Django view that allows for users to upload a file with data to be graphed via a Pandas dataframe. The graph is then created in a separate view which is referenced w
To work over it you can do one of the following listed below:
<pre>
tag this way all the escaped characters like < >
etc will be rendered as it is can be done as:<pre>
{{ html_table }}
</pre>
autoescape
filter available in django builtins can be done as:{% autoescape off %}
{{ html_table }}
{% endautoescape %}
The second option is better as it is given by django and only the developer has the authority over it.