title: How to pass a variable from python Django to HTML template
body: <p>I want to pass a variable from python Django and use it inside the <code>&lt;img&gt;</code> tag. How can I do it? </p>
  
  <p>Here is my code.</p>
  
  <p><strong>Python-</strong></p>
  
  <pre><code>render(request, 'dashboard/dashboard.html', {"variable_int" : 12})
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;img src="{% static "img/icons/vendor/yahoo_weather/{{variable_int}}.gif" %}" /&gt;&lt;/td&gt;
  </code></pre>
  
  <p>I know that I need to pass it between <code>{{}}</code> but I'm not getting the image. How can I do it?</p>