最近參考此篇文章: 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....