title: problems with csrf_token
body: <p>I'm doing wiki in django tutorial and in tutorial earlier version of django is used where csrf token is not compulsory. I've added {% csrf_token %} to the form, however I'm not sure what to do in the views. Please help.</p>
  
  <p>Here's the form:</p>
  
  <pre><code>&lt;form method = "POST" action="/wikicamp/{{ page_name }}/save/"&gt;{% csrf_token %}
      &lt;textarea name = "content" rows="20" cols="60"&gt;{{ content }}&lt;/textarea&gt;&lt;br/&gt;
      &lt;input type="submit" value="Save Page"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>views.py:</p>
  
  <pre><code>def view_page(request, page_name):
      try:
          page = Page.objects.get(pk=page_name)
      except Page.DoesNotExist:
          return render_to_response("create.html", {"page_name" : page_name})
  
      return render_to_response("view.html", {"page_name" : page_name,
                                              "content" : page.content})
  
  def edit_page(request, page_name):
      c = {}
      c.update(csrf(request))
      try:
          page = Page.objects.get(pk=page_name)
          contents = page.content
      except Page.DoesNotExist:
          content = ""
      return render_to_response("edit.html", {"page_name" : page_name,
                                              "content" : content}, c)
  
  
  def save_page(request, page_name):
      content = request.POST["content"]
      try:
          page = Page.objects.get(pk=page_name)
          page.content = content
      except Page.DoesNotExist:
          page = Page(name = page_name, content = content)
      page.save()
  
      return HttpResponseRedirect("/wikicamp/" + page_name + "/")
  </code></pre>
  
  <p>here's the error</p>
  
  <pre><code>TypeError at /wikicamp/start/edit/
  pop expected at least 1 arguments, got 0
  </code></pre>