Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  docs/topics/i18n/internationalization.txt
View
1  docs/topics/i18n/internationalization.txt
@@ -568,6 +568,7 @@ Here's example HTML template code:
.. code-block:: html+django
<form action="/i18n/setlang/" method="post">
+ {% csrf_token %}
<input name="next" type="hidden" value="/next/page/" />
<select name="language">
{% for lang in LANGUAGES %}
Please sign in to comment.
Something went wrong with that request. Please try again.