django ajax 請求

相關網址: https://www.cnblogs.com/rgcLOVEyaya/p/RGC_LOVE_YAYA_692days_802_1.html   1、GET 請求不需要 CSRF 認證,POST 請求需要正確認證才能得到正確的返回結果。       一般在POST表單中加入 {% csrf_token %} <form method="POST" action="/post-url/"
相關文章
相關標籤/搜索