Obtenha o valor CSRF_TOKen no modelo Django
# get csrf token value in template
{{ csrf_token }}
# render a input form element
{% csrf_token %}
Nihshreyas
# get csrf token value in template
{{ csrf_token }}
# render a input form element
{% csrf_token %}