Answers for "how to add javascript variable in django {% templates"

1

access django template variable in javascript

<script type="text/javascript"> 
   var a = "{{someDjangoVariable}}";
</script>
Posted by: Guest on January-19-2021

Code answers related to "how to add javascript variable in django {% templates"

Code answers related to "Javascript"

Browse Popular Code Answers by Language