最近参考此篇文章: https://ithelp.ithome.com.tw/articles/10202804 学django
出现以下错误: https://imgur.com/071onyE
*Your browser is accepting cookies. -> 已检查 ok
*The view function passes a request to the template's render method.
*In the template, there is a {% csrf_token %} ... 参考文中作者所说 ok
*If you are not using CsrfViewMiddleware... 已检查 ok
*The form has a valid CSRF token. After logging in....