title: Django: TemplateDoesNotExist error for base template
body: <p>I learnt about Django template inheritance and was working on it.</p>
  
  <p>I made a <code>base_post_login.html</code> template in the same directory as other templates.</p>
  
  <p>and type <code>{% extends "base_post_login.html" %}</code> as the first line in in a child template.</p>
  
  <p>But when the child template is rendered through back-end the <code>TemplateDoesNotExist</code> error is raised.</p>
  
  <p>this is settings.py(relevant part):</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>all templates are rendered properly if it does not extend and parent template.</p>
  
  <p>What should I do?</p>