<form id='formulario2' method='post' action='>
<h3>Enter:</h3>
{% csrf_token %}
<input id="id_mesaje" name="mesaje" type="email" placeholder="E-mail"/>
<input type='submit' name="boton2" value='Suscribete' style="display:inline-block;background-color: #80e174; "/>
</form>
Django CSRF Token
CSRF verification failed. Request aborted.
---------------------------------------------------
from django.views.decorators.csrf import csrf_exempt # import
@csrf_exempt # add this token before defining function
def def_name():
...