摘要: 【修改users-models模块】 1.如果这样不生效 2.就换成这种 阅读全文
posted @ 2019-04-28 18:25 yanhuidj 阅读(412) 评论(1) 推荐(0) 编辑
摘要: 1.访问github :https://github.com/sshwsfc/xadmin 2.新建README.rst 并替换到下载的zip文件中 3.cmd下,进入虚拟环境使用pip install +下载的xadmin文件夹 即可 阅读全文
posted @ 2019-04-28 10:34 yanhuidj 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 【报错内容】: IntegrityError at /admin/users/userprofile/add/ (1452, 'Cannot add or update a child row: a foreign key constraint fails (`mxonline1`.`django_ 阅读全文
posted @ 2019-04-28 09:39 yanhuidj 阅读(199) 评论(1) 推荐(0) 编辑