Acesso Variável de modelo Django em JavaScript
<script type="text/javascript">
var a = "{{someDjangoVariable}}";
</script>
Mushy Mockingbird
<script type="text/javascript">
var a = "{{someDjangoVariable}}";
</script>