Python Django提交表单时报错:Forbidden (403) CSRF verification failed. Request aborted.
报错截图:解决方法:把settings里面一个叫csrf的安全机制的注释掉即可。MIDDLEWARE=['django.middleware.security.SecurityMiddleware','django.contrib.sessions.middleware.SessionMiddleware','django.middleware.common.CommonMiddleware',#