1 | {% with csrf_token as csrf_token_clean %}{{ csrf_token_clean }}{% endwith %}
|
More like this
- Add CSRF token to templates by coleifer 1 year, 10 months ago
- Temporary admin messages (MOTD) by bthomas 4 years, 3 months ago
- csrf_token for mako by damd 2 years, 12 months ago
- Convert XHTML-compatible shorttag to HTML-compatible tag. by clamothe 5 years ago
- jinja2 csrf_token extension by jasongreen 3 years, 4 months ago
Comments
Or you can use
{{ csrf_token }}instead.#