title: Django Class-based View and URL configuration
body: <p>I am trying to learn Django and I am stuck with Class-based views and URLconf. From what I understand I should see my test.html at <code>localhost/app1/test1/test/test.html</code>, but I get an error page not found. I am not sure what I am doing wrong.  </p>
  
  <pre><code>#~/project_folder/mysite/ulrs.py
  urlpatterns = [
  path('admin/', admin.site.urls),
  path('app1/test1/', include("app1.urls")),
  ]
  
  #~/project_folder/app1/urls.py
  urlpatterns = [
  path('test/', TemplateView.as_view(template_name="test.html"), name="home"),
  ]
  
  #~/project_folder/static/templates
  test.html
  
  #~/project_folder/mysite/settings.py
  TEMPLATES = [
  {
      'BACKEND': 'django.template.backends.django.DjangoTemplates',
      'DIRS': [
          os.path.join(BASE_DIR, 'static/templates'),
      ],
      'APP_DIRS': True,
  ...
  }
  
  STATIC_URL = os.path.join(BASE_DIR, 'static/')
  </code></pre>