问题:页面访问时报错
Forbidden (CSRF cookie not set.): xxx
 
 
解决方法:
修改settings.py文件,注释掉
django.middleware.csrf.CsrfViewMiddleware',