Closed notramo closed 4 months ago
Since the CSRF token is mostly used in <form> elements in a hidden input, it would be useful to add a {% csrf %} template tag, which renders a hidden input:
<form>
{% csrf %}
<input type=hidden name=csrftoken value="#{csrf_token}">
Since the CSRF token is mostly used in
<form>
elements in a hidden input, it would be useful to add a{% csrf %}
template tag, which renders a hidden input: