title: Django templates in subdirectory
body: <p>I've set a directory in settings.py to look at templates:</p>
  
  <pre><code>TEMPLATE_DIRS = (
      '/var/www/templates/',
  )
  </code></pre>
  
  <p>With a dir structure like</p>
  
  <pre><code>/var/www/templates/
  |__footer.html
  |__header.html
  |__index/
     |__index.html
  </code></pre>
  
  <p>I can source header and footer fine</p>
  
  <pre><code>&gt;&gt;&gt; render_to_response('footer.html')
      &lt;django.http.response.HttpResponse object at 0x2268d10&gt;
  </code></pre>
  
  <p>But not in the subdir</p>
  
  <pre><code>&gt;&gt;&gt; render_to_response('index/index.html')
  Traceback (most recent call last):
    File "&lt;console&gt;", line 1, in &lt;module&gt;
    File "/var/www/local/lib/python2.7/site-packages/django/shortcuts/__init__.py", line 29, in render_to_response
      return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
    File "/var/www/local/lib/python2.7/site-packages/django/template/loader.py", line 172, in render_to_string
      return t.render(Context(dictionary))
    File "/var/www/local/lib/python2.7/site-packages/django/template/base.py", line 140, in render
      return self._render(context)
    File "/var/www/local/lib/python2.7/site-packages/django/template/base.py", line 134, in _render
      return self.nodelist.render(context)
    File "/var/www/local/lib/python2.7/site-packages/django/template/base.py", line 830, in render
      bit = self.render_node(node, context)
    File "/var/www/local/lib/python2.7/site-packages/django/template/debug.py", line 74, in render_node
      return node.render(context)
    File "/var/www/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 166, in render
      template = get_template(template_name)
    File "/var/www/local/lib/python2.7/site-packages/django/template/loader.py", line 146, in get_template
      template, origin = find_template(template_name)
    File "/var/www/local/lib/python2.7/site-packages/django/template/loader.py", line 139, in find_template
      raise TemplateDoesNotExist(name)
  TemplateDoesNotExist
  </code></pre>