2022年5月26日

django 项目部署后登录admin管理页面报403

摘要: 解决方案: 在settings页面中添加下列内容: CORS_ALLOWED_ORIGINS = [ "http://read.only.com", "http://change.allowed.com", ] # 添加下列内容 CSRF_TRUSTED_ORIGINS = [ "http://ch 阅读全文

posted @ 2022-05-26 23:02 白衣风云 阅读(192) 评论(0) 推荐(0) 编辑

导航