随笔分类 -  django

摘要:当页面需要 是用 ajax想后端提交数据时,需要将 csrfmiddlewaretoken 的值传过去 function up_ajax(){ data = { "name": 'xxxx', "phone": 'xxxxxxxxx', "csrfmiddlewaretoken":'{{csrf_t 阅读全文
posted @ 2022-07-09 15:59 JiZhaoG 阅读(321) 评论(0) 推荐(0)