Answers for "csrf verification failed. request aborted. postman"

3

CSRF verification failed. Request aborted.

<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>
Posted by: Guest on November-13-2020
0

CSRF verification failed. Request aborted.

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():
    	...
Posted by: Guest on July-26-2021

Code answers related to "csrf verification failed. request aborted. postman"

Python Answers by Framework

Browse Popular Code Answers by Language