Commits

Anonymous committed 8a1112c

Edited csrf.txt changes from [17299]

  • Participants
  • Parent commits 1743475

Comments (0)

Files changed (1)

docs/ref/contrib/csrf.txt

 ----------------------
 
 When using a different template engine than Django's built-in engine, you can
-set the token in your forms manually after making sure it is available in the
-context of the template.
+set the token in your forms manually after making sure it's available in the
+template context.
 
-So in Cheetah for example, your form could contain the following:
+For example, in the Cheetah template language, your form could contain the
+following:
 
 .. code-block:: html
 
         <input type="hidden" name="csrfmiddlewaretoken" value="$csrf_token"/>
     </div>
 
-You may use javascript similar to the :ref:`AJAX code <csrf-ajax>` above to get
+You can use JavaScript similar to the :ref:`AJAX code <csrf-ajax>` above to get
 the value of the CSRF token.
 
 The decorator method