Form with CSRF
Form without CSRF
{% if success %}
Successful POST
{% endif %}
{% if show_csrf %} {{ csrf_token() }} {% endif %}
Submit form {% if show_csrf %}with{% else %}without{% endif %} CSRF