TemplateDoesNotExist meta.html

Raised by:

django/template/engine.py (line 146)

Traceback (most recent call last):
  File "python2.7/site-packages/django/core/handlers/base.py", line 164, in get_response
    response = response.render()
  File "python2.7/site-packages/django/template/response.py", line 158, in render
    self.content = self.rendered_content
  File "python2.7/site-packages/django/template/response.py", line 135, in rendered_content
    content = template.render(context, self._request)
  File "python2.7/site-packages/django/template/backends/django.py", line 74, in render
    return self.template.render(context)
  File "python2.7/site-packages/django/template/base.py", line 209, in render
    return self._render(context)
  File "python2.7/site-packages/django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "python2.7/site-packages/django/template/loader_tags.py", line 135, in render
    return compiled_parent._render(context)
  File "python2.7/site-packages/django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "python2.7/site-packages/django/template/loader_tags.py", line 65, in render
    result = block.nodelist.render(context)
  File "python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "python2.7/site-packages/django/template/loader_tags.py", line 151, in render
    template = context.template.engine.get_template(template)
  File "python2.7/site-packages/django/template/engine.py", line 167, in get_template
    template, origin = self.find_template(template_name, dirs)
  File "python2.7/site-packages/django/template/engine.py", line 146, in find_template
    raise TemplateDoesNotExist(name)
TemplateDoesNotExist: meta.html

How to reproduce

Inside a template, try to include or extend another template that doesn't exist:

{% include 'meta.html' %}

How to fix

Check the following:

  • have correctly typed the template name on include/extend tag?
  • have you added the app in which the included/extended template is located to INSTALLED_APPS on your settings.py?
  • is the template saved in the correct place?