zqifa的博客

我不管,反正我最萌~

当前标签:django-csrf
django csrf使用教程,解决Forbidden (403)CSRF verification failed. Request aborted.

Django版本号:1.11.15 django中post请求报错:Forbidden (403) CSRF verification failed. Request aborted.Help Reason given for failure:CSRF cookie not set.

阅读全文

django ajax报错解决:You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set.

Django版本号:1.11.15 django中ajax请求报错:You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data.

阅读全文

Copyright © zqifa 联系方式:z___qf@163.com