1👍
Okeeyy … finally, it was easy.
<script>
var myvar = {{data|escapejs}}
</script>
<script src = "{% static 'mycode.js' %}">
👤Juin
Source:stackexchange.com
1👍
Okeeyy … finally, it was easy.
<script>
var myvar = {{data|escapejs}}
</script>
<script src = "{% static 'mycode.js' %}">