title: Django: cannot pass variable to included template?
body: <p>I got a problem where I want to use template including in Django.</p>
  
  <p>Here is the real example:
  I got 3 files:</p>
  
  <ul>
  <li><strong>home.html</strong> (will get the context variable passed from <strong>Views</strong>)</li>
  <li><strong>base.html</strong> (the skeleton template file) </li>
  <li>and the <strong>header.html</strong> (included by base.html).</li>
  </ul>
  
  <p>If I put the code below directly in <strong>base.html</strong> without including <strong>header.html</strong>, the <strong>{{title}}</strong> variable passed from home is correctly called. But if I include the <strong>header.html</strong> in <strong>base.html</strong>, the <strong>{{title}}</strong> variable's value cannot be called.</p>
  
  <pre><code>&lt;title&gt;{% block title %}{% endblock %} | {{ SITE_INFO_TITLE }}&lt;/title&gt;
  </code></pre>
  
  <p>Is there any solution to this problem? Thanks.</p>