CSRF verification failed. Request aborted. on django
You need to add the {% csrf_token %} template tag as a child of the form element in your Django template. This way, the template will render a hidden element with the value set to the CSRF token. When the Django server receives the form request, Django will verify that the token matches the value … Read more