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