1
0
mirror of https://github.com/django/django.git synced 2025-03-25 08:40:45 +00:00

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
This commit is contained in:
Russell Keith-Magee 2010-03-08 03:18:58 +00:00
parent e081160706
commit abd0e96285

View File

@ -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 %}