title: django extends problem - the child template is not showing
body: <p>I've already configured the necessary things to work the extends template function in django. here's my codes:</p>
  <h1>in settings.py</h1>
  <pre><code>def my_dir():
      import os.path
      return os.path.abspath(os.path.dirname(__file__))
  TEMPLATE_DIRS = ( my_dir() + '/app/templates', ) #dynamic template directory
  </code></pre>
  <h1>in base.html - located in app/templates/site</h1>
  <pre><code>....
  &lt;div id=&quot;SideBar&quot; class=&quot;FloatLeft&quot;&gt;
  {% block sidebar %} {% endblock %}
  &lt;/div&gt;
  ....
  </code></pre>
  <h1>in sidebar.html - located in app/templates/site</h1>
  <pre><code>{% extends &quot;site/base.html&quot; %}
  {% block sidebar %}
     some code here
  {% endblock %}
  </code></pre>
  <p>I've tried also the {% include &quot;site/sidebar.html&quot;%} tag in the base.html to check the template directory, and yes include tag is working...</p>
  <p>what's the problem in the {% extends %} ? why does it doesnt detect its parent template..</p>
  <p>please help me guys.. your help is greatly appreciated... im still waiting for the answer.. tnx</p>