Ticket #13013: 13013_csrf_missing_patch.diff

File 13013_csrf_missing_patch.diff, 493 bytes (added by Gabriel Hurley, 14 years ago)

Adds that pesky csrf_token to the form in the docs there...

  • docs/topics/i18n/internationalization.txt

     
    568568.. code-block:: html+django
    569569
    570570    <form action="/i18n/setlang/" method="post">
     571    {% csrf_token %}
    571572    <input name="next" type="hidden" value="/next/page/" />
    572573    <select name="language">
    573574    {% for lang in LANGUAGES %}
Back to Top