title: how to get a python variable in JS Django
body: <p>I'm using Django and sending a variable from views.py to my template. How can I get that variable in my JS file?</p>
  
  <pre><code>return render(request, 'dashboard/dashboard.html', {"value":123})
  </code></pre>
  
  <p>Now I want to get the <code>value</code> variable in my JS file. How can I do it? Inside the template,ie HTML file its easy, just do {{value}} and you get it printed, But I wanted to play with this variable a bit and get it into my JS file. Ho do I do it?</p>