摘要:
The CSRF middleware and template tag provides easy-to-use protection against Cross Site Request Forgeries. 跨站请求伪造,django 1.4 默认配置了’django.middleware.csrf.CsrfViewMiddleware’,MIDDLEWARE_CLASSES = ('django.middleware.common.CommonMiddleware','django.contrib.sessions.middleware.SessionMiddl 阅读全文