title: Django template doesn't load anything (blank screen)
body: <p><strong>SOLVED, I'm really sorry it was a beginner's mistake... The problem was in my _layouts/base.html, it didn't rendere because it missed the HTML in &lt; !DOCTYPE ></strong></p>
  
  <p><strong>You can view the _layout/base.html in the pastebin link</strong></p>
  
  <p>I crawled the whole internet and still can't find what I did wrong here's my code :
  <strong>Views.py :</strong></p>
  
  <pre><code>from django.shortcuts import render
  from django.views import generic
  from django.views.generic import TemplateView   
  from django.http import HttpResponse
  # Create your views here.
  
  def home_page(request):
      return HttpResponse('hello')
  
  class HomePageView(generic.TemplateView):
      template_name = 'home.html'
  
  class HomePageView2(TemplateView):
      template_name = 'home.html'
  </code></pre>
  
  <p><strong>urls.py :</strong></p>
  
  <pre><code>from django.conf.urls import url
  from django.contrib import admin
  from app1.views import *
  #from django.shortcuts import render
  from django.views.generic import TemplateView
  
  urlpatterns = [
      url(r'^$',HomePageView.as_view(), name = 'home.html'),
      url(r'^1/$',HomePageView2.as_view(template_name="home.html")),
      url(r'^admin/', admin.site.urls),
      url(r'^nn/$', home_page )
  ]
  </code></pre>
  
  <p><strong>home.html:</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>{% extends '_layouts/base.html' %}
  
  {% block headline %}&lt;h1&gt;Welcome to the PyCon Survival Guide&lt;/h1&gt;{% endblock  %}
  
  {% block content %}
  &lt;p&gt;Howdy {% if user.is_authenticated %} {{ user.username }}{% endif %} &lt;/p&gt;
  {% endblock %}</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>my _layouts/base.html :</strong>
  http: //pastebin.com/LVHbduqm</p>
  
  <p>Neither <strong>HomePageView</strong>, nor <strong>HomePageView2</strong> render my template !</p>
  
  <p><strong>settings.py and my folder tree :</strong>
  <a href="http://i.stack.imgur.com/bhc9s.jpg" rel="nofollow">settings.py and my folder tree</a></p>
  
  <p><strong>P.S. :</strong>
  <a href="http://i.stack.imgur.com/E1EWw.jpg" rel="nofollow">Example of blank screen</a></p>