Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #12350 -- Fixed typo in tutorial04. Thanks, mortense

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 985dcdb4b228fe4e5a535ca0ae7bb07e18c637b1 1 parent 1f400c6
Adrian Holovaty authored January 10, 2010

Showing 1 changed file with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. 12  docs/intro/tutorial04.txt
12  docs/intro/tutorial04.txt
@@ -47,15 +47,15 @@ A quick rundown:
47 47
     * ``forloop.counter`` indicates how many times the :ttag:`for` tag has gone
48 48
       through its loop
49 49
 
50  
-    * Since we are creating a POST form (which can have the effect of modifying
51  
-      data), we unfortunately need to worry about Cross Site Request Forgeries.
  50
+    * Since we're creating a POST form (which can have the effect of modifying
  51
+      data), we need to worry about Cross Site Request Forgeries.
52 52
       Thankfully, you don't have to worry too hard, because Django comes with
53  
-      very easy-to-use system for protecting against it.  In short, all POST
54  
-      forms that are targetted at internal URLs need the ``{% csrf_token %}``
55  
-      template tag adding.
  53
+      a very easy-to-use system for protecting against it. In short, all POST
  54
+      forms that are targeted at internal URLs should use the ``{% csrf_token %}``
  55
+      template tag.
56 56
 
57 57
 The ``{% csrf_token %}`` tag requires information from the request object, which
58  
-is not normally accessible from within the template context.  To fix this, a
  58
+is not normally accessible from within the template context. To fix this, a
59 59
 small adjustment needs to be made to the ``detail`` view, so that it looks like
60 60
 the following::
61 61
 

0 notes on commit 985dcdb

Please sign in to comment.
Something went wrong with that request. Please try again.