title: Forbidden (403) CSRF verification failed. Request aborted. django 2.1
body: <p>So trying to launch my first django app, it is a simple Morphological Analyzer page that get a japanese sentence from a form and then goes to another page with the results,but im getting this error  Forbidden (403) CSRF verification failed. Request aborted as i try to send the form.<br>
  My template:</p>
  
  <pre><code>{% load static %}
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;title&gt;日本語の構文解析&lt;/title&gt;
          &lt;link rel="stylesheet" type="text/css" href="{% static'bunseki/style.css' %}"&gt;
  &lt;/head&gt;
  &lt;body&gt;
     &lt;div class="header"&gt;
     &lt;h1&gt;日本語の構文解析&lt;/h1&gt;
     &lt;/div&gt;
     &lt;div class="sidebar"&gt;
       このサイトは形態素解析器JUMANを使用し、文を形態素(Morpheme)単位に分割する。
     &lt;/div&gt;
     &lt;div class="main"&gt;
     &lt;div class="bun"&gt;
      &lt;form method="post"&gt;
            &lt;h1&gt;解析したい文&lt;h1&gt;&lt;br&gt;
            {% csrf_token %}
        {{ form }}
        &lt;br&gt;
        &lt;button type="submit"&gt;解析&lt;/button&gt;
      &lt;/form&gt;
  
    &lt;/div&gt;
  
  &lt;div class="footer"&gt;
  </code></pre>
  
  <p>My view:</p>
  
  <pre><code>def index(request):
      form = KaisekiForm(request.POST or None)
      if request.method == 'POST':
          if form.is_valid():
              request.session['kaiseki_bun'] = request.POST['kaiseki_bun']
              return redirect('kaiseki')
      return render(request, 'bunseki/index.html', {'form': form})
  </code></pre>