django javascript variable list in template 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>