title: How do I pass data from the views.py backend to html template frontend in Django?
body: <p>I am very new to coding and Django and have read the documentations but couldn't seem to figure out the answer, your guidance would be greatly appreciated! </p>
  
  <p>I have variables in my Django views.py file and want to pass it into my template file so it can be displayed in html. How do I do that?</p>
  
  <p>For example, in views.py</p>
  
  <pre><code>    list = [2, 5, 10, "string", 99, ]
  </code></pre>
  
  <p>And I wish to this use list in my frontend HTML or javascript</p>