Fixed #23527 -- Removed Cheetah references in docs

Thanks to @aaugustin for submitting the ticket.
This commit is contained in:
Ola Sitarska 2014-09-21 17:30:18 +02:00 committed by Baptiste Mispelon
parent ee442e97da
commit b9b8895acb
4 changed files with 6 additions and 6 deletions

View file

@ -164,13 +164,13 @@ When using a different template engine than Django's built-in engine, you can
set the token in your forms manually after making sure it's available in the
template context.
For example, in the Cheetah template language, your form could contain the
For example, in the Jinja2 template language, your form could contain the
following:
.. code-block:: html
<div style="display:none">
<input type="hidden" name="csrfmiddlewaretoken" value="$csrf_token"/>
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}">
</div>
You can use JavaScript similar to the :ref:`AJAX code <csrf-ajax>` above to get