title: Django - 403 Forbidden. CSRF token missing or incorrect
body: <p>I try to add ModelForm for my model, but every POST attempt ends with "403 Forbidden. CSRF verification failed. Request aborted. Reason given for failure: CSRF token missing or incorrect". I have no render_to_response() method, so I can't fix this problem by adding RequestContext. Here's my model:</p>
  
  <pre><code>from django.db import models
  from django.forms import ModelForm
  .
  .
  .
  class Text(models.Model):
      title = models.CharField(max_length=200)
      content = models.TextField()
  
      def __str__(self):
          return self.title
  
  class TextForm(ModelForm):
      class Meta:
          model = Text
          fields = '__all__'
  </code></pre>
  
  <p>Here's my views.py:</p>
  
  <pre><code>from django.shortcuts import render, get_object_or_404
  from django.http import HttpResponse
  from .models import Text, TextForm
  .
  .
  .
  def text_new(request):
      if request.method == 'POST':
          form = TextForm(request.POST)
          if form.is_valid():
              return HttpResponse('Test')
      else:
          form = TextForm()
  
      return render(request, 'projectname/new.html', {'form': form})
  </code></pre>
  
  <p>And here's part of new.html:</p>
  
  <pre><code>&lt;form method="post" action=""&gt;
    {% csrf_token %}
    {{ form }}
    &lt;input type="submit" value="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And another one question: is "text_name" method name ok? Thank you so much!</p>