title: Template inheritance error in Django with TemplateDoesNotExist
body: <p><a href="https://i.stack.imgur.com/PCHy5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PCHy5.png" alt="enter image description here" /></a>base.html and child html file are in one directory app/templates/app:
  lead_list.html</p>
  <pre><code>{% extends &quot;leads/base.html&quot; %}
  
  {% block content %}
      &lt;a href=&quot;{% url 'leads:lead-create' %}&quot;&gt;Create a new Lead&lt;/a&gt;
  
      &lt;hr /&gt;
      &lt;h1&gt;This is all of our leads&lt;/h1&gt;
      {% for lead in leads %}
          &lt;div class=&quot;lead&quot;&gt;
              &lt;a href=&quot;{% url 'leads:lead-detail' lead.pk %}&quot;&gt;{{ lead.first_name }} {{ lead.last_name }}&lt;/a&gt;. Age: {{ lead.age }}
          &lt;/div&gt;
      {% endfor %}
  {% endblock %}
  </code></pre>
  <p>base.html</p>
  <pre><code>    {% load static %}
  &lt;!DOCTYPE html&gt;
  &lt;html lang=&quot;en&quot;&gt;
  &lt;head&gt;
      &lt;meta charset=&quot;UTF-8&quot;&gt;
      &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
      &lt;title&gt;DJCRM&lt;/title&gt;
      &lt;style&gt;
          .lead {
              padding-top: 10px;
              padding-bottom: 10px;
              padding-left: 6px;
              padding-right: 6px;
              margin-top: 10px;
              background-color: #f6f6f6;
              width: 100%;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      {% block content %}
      {% endblock %}
  
  &lt;/body&gt;
  &lt;/html&gt; 
  </code></pre>
  <p>views.py</p>
  <pre><code>from django.shortcuts import render, redirect
  from django.http import HttpResponse
  from .models import Lead, Agent
  from .forms import LeadForm, LeadModelForm
  
  def lead_list(request):
      leads = Lead.objects.all()
      context = {
          &quot;leads&quot;: leads
      }
      return render(request, &quot;lead_list.html&quot;, context)
  </code></pre>
  <p>settings.py</p>
  <pre><code>TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.template.context_processors.debug',
                  'django.template.context_processors.request',
                  'django.contrib.auth.context_processors.auth',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  </code></pre>
  <p>I am getting the error with django.template.exceptions.TemplateDoesNotExist: lead_list.html
  I think I have done everything right and compared with documentation but could not find my error.
  Thanks in advance!</p>