I am using django for research and have an expensive computing process that takes about 12 or 13 hours and generates javascript charts.
I did the computing using the management command and stored the charts in the models as TextField.
My question is how to display this javascript code on the template?
I tried using {{ variable_name }} results in plain javascript text
I also tried using
<script type="javascript">
{{ variable_name }}
</script>
resulted in text with special characters.