Hello,
I am using Django 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? using
{{ variable_name }}
and using
<script type="javascript">
{{ variable_name}}
</script>
results in hidden text with special characters.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ff45f356-1ebe-48d4-aa1d-74581815d443%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment