上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 50 下一页
摘要: 'Media' object has no attribute 'add_css'Request Method: GETRequest URL: http://localhost:8000/xadmin/Django Version: 2.0.1Exception Type: AttributeEr 阅读全文
posted @ 2022-09-14 18:38 tslam 阅读(99) 评论(0) 推荐(0)
摘要: 链接: https://github.com/django-import-export/django-import-export/blob/main/README.rst 文档: https://django-import-export.readthedocs.io/en/latest/instal 阅读全文
posted @ 2022-09-14 17:17 tslam 阅读(45) 评论(0) 推荐(0)
摘要: 直接import six 阅读全文
posted @ 2022-09-13 23:39 tslam 阅读(12) 评论(0) 推荐(0)
摘要: 转载自: http://www.qb5200.com/article/309080.html 阅读全文
posted @ 2022-09-13 11:47 tslam 阅读(43) 评论(0) 推荐(0)
摘要: 参考: https://www.zhihu.com/question/20824615/answer/252350555 阅读全文
posted @ 2022-09-13 11:43 tslam 阅读(18) 评论(0) 推荐(0)
摘要: 解决办法: 删除项目根目录.idea目录, 然后重启PyCharm即可. 阅读全文
posted @ 2022-09-09 16:10 tslam 阅读(875) 评论(0) 推荐(0)
摘要: 转载自: https://totoro.site/index.php/archives/86/ 或者用必应搜索引擎搜索: python openpyxl 阅读全文
posted @ 2022-09-08 19:03 tslam 阅读(35) 评论(0) 推荐(0)
摘要: 之前试了一次: 用的django2.0.2, 各种报错, 光是报错能解决快一天, 所以特别不推荐用xadmin 使用文档: https://xadmin.readthedocs.io/en/docs-chinese/feature.html 参考1: https://blog.csdn.net/Ma 阅读全文
posted @ 2022-09-08 16:26 tslam 阅读(66) 评论(0) 推荐(0)
摘要: 1 看django官方文档: https://docs.djangoproject.com/zh-hans/2.2/ref/contrib/admin/ 2 其他文档: https://www.runoob.com/django/django-admin-manage-tool.html 阅读全文
posted @ 2022-09-07 21:30 tslam 阅读(27) 评论(0) 推荐(0)
摘要: 原因 1) url错误 2) 后端也可以code=404返回给前端呀. 案例1: 你启动django后前端首页是: 找原因: 最后发现是(你说打脸不打脸) 阅读全文
posted @ 2022-09-07 20:57 tslam 阅读(9) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 50 下一页