title: Template does not exists Error...in Django error while running the manage.py
body: <pre><code>{% extends 'chartapp/base.html' %}
  
  &lt;script&gt;
      {% block jquery %}
      {% endblock %}
  &lt;/script&gt;
  
  {% block content %}
  &lt;div class='row'&gt;
      &lt;div clas = 'col-sm-12'&gt;
          &lt;h1&gt;Hello world!!&lt;/h1&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  {% endblock content %}
  </code></pre>
  
  <p>This is the simple code of chart.html and the structure of the directory is</p>
  
  <pre><code>(venv) sevenbits@sevenbits-H110M-H:~/chart-django/chart$ tree
  .
  ├── chart
  │   ├── __init__.py
  │   ├── __init__.pyc
  │   ├── settings.py
  │   ├── settings.pyc
  │   ├── urls.py
  │   ├── urls.pyc
  │   ├── views.py
  │   ├── views.pyc
  │   ├── wsgi.py
  │   └── wsgi.pyc
  ├── chartapp
  │   ├── admin.py
  │   ├── admin.pyc
  │   ├── __init__.py
  │   ├── __init__.pyc
  │   ├── migrations
  │   │   ├── __init__.py
  │   │   └── __init__.pyc
  │   ├── models.py
  │   ├── models.pyc
  │   ├── templates
  │   │   └── chartapp
  │   │       ├── base
  │   │       │   ├── bootstrap_defaults.html
  │   │       │   ├── css.html
  │   │       │   └── js.html
  │   │       ├── base.html
  │   │       └── charts.html
  │   ├── tests.py
  │   ├── views.py
  │   └── views.pyc
  ├── db.sqlite3
  └── manage.py
  </code></pre>
  
  <p>This is the urls.py file</p>
  
  <pre><code>from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from .views import HomeView, get_data
  
  urlpatterns = [
  
      url(r'^admin/', include(admin.site.urls)),
      url(r'^$',HomeView.as_view(), name='home'),
      url(r'^api/data/$', get_data, name='api-data'),
  
  ]
  </code></pre>
  
  <p>This is my views.py file</p>
  
  <pre><code>from django.http import JsonResponse
  from django.shortcuts import render
  from django.views.generic import View
  
  class HomeView(View):
          def get(self, request, *args, **kwargs):
                  return render(request, 'chartapp/charts.html', {})
  
  def get_data(request, *args, **kwargs):
          data = {
                  "sales": 100,
                  "customers": 10,
          }
          return JsonResponse(data)
  </code></pre>
  
  <p>TemplateDoesNotExist at charts.html
  This type of error shows while running the code.I have included the template but shows error.This can be template structure error.It would be helpful if someone can guide where i made mistake.</p>