title: Render return html into text
body: <p>This is urls.py</p>
  
  <pre><code>from django.conf.urls import url
  from . import views
  
  urlpatterns = [
      url(r'^$', views.login_page, name='login_page'),
  ]
  </code></pre>
  
  <p>my views.py like this</p>
  
  <pre><code>def login_page(request):
      return render(request, 'mileage/login_page.html', {})
  </code></pre>
  
  <p>this is my html code</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" &gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Test&lt;/title&gt;
      &lt;link rel="stylesheet" href="{% static 'css/style.css' %}"&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"&gt;
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body bgcolor="#4599e8"&gt;
  &lt;div class="title"&gt;&lt;span&gt;&lt;h1&gt;Test&lt;/h1&gt;&lt;/span&gt;&lt;/div&gt;
  &lt;div class="home_password"&gt;
      &lt;div class="password"&gt;&lt;input type="password" name="password" placeholder="Password"&gt;&lt;/div&gt;
      &lt;div class="button"&gt;&lt;button&gt;OK&lt;/button&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And start server, but my localhost:8080/ shows only html text not page.</p>
  
  <p>Using Chrome Developer Console, I checked element.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;/head&gt;
  &lt;body&gt;
  &lt;pre style="word-wrap: break-word; white-space: pre-wrap;"&gt;
  "
     my html code here.
  "
  &lt;/pre&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I don't know how to solve it. </p>