Permalink
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...
1 parent e081160 commit abd0e9628564015097ec0eac0b87fc6fab1d7b9f @freakboy3742 freakboy3742 committed Mar 8, 2010
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 %}

0 comments on commit abd0e96

Please sign in to comment.