inject template tag into javascrirpt django code example
Example: access django template variable in javascript
<script type="text/javascript">
var a = "{{someDjangoVariable}}";
</script>
<script type="text/javascript">
var a = "{{someDjangoVariable}}";
</script>