Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #13013 -- Added missing {% csrf_token %} in example form.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit abd0e9628564015097ec0eac0b87fc6fab1d7b9f 1 parent e081160
Russell Keith-Magee authored March 08, 2010
1  docs/topics/i18n/internationalization.txt
@@ -568,6 +568,7 @@ Here's example HTML template code:
568 568
 .. code-block:: html+django
569 569
 
570 570
     <form action="/i18n/setlang/" method="post">
  571
+    {% csrf_token %}
571 572
     <input name="next" type="hidden" value="/next/page/" />
572 573
     <select name="language">
573 574
     {% for lang in LANGUAGES %}

0 notes on commit abd0e96

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