标签:ted 技术 bsp color auth .com 这一 message 解决
解决办法:
将settings.py中的红色这一行注释
MIDDLEWARE_CLASSES = (
‘django.contrib.sessions.middleware.SessionMiddleware‘,
‘django.middleware.common.CommonMiddleware‘,
#‘django.middleware.csrf.CsrfViewMiddleware‘,
‘django.contrib.auth.middleware.AuthenticationMiddleware‘,
‘django.contrib.messages.middleware.MessageMiddleware‘,
‘django.middleware.clickjacking.XFrameOptionsMiddleware‘,
)
CSRF verification failed. Request aborted.
标签:ted 技术 bsp color auth .com 这一 message 解决
原文地址:https://www.cnblogs.com/areyouready/p/9033579.html