05 2023 档案

摘要:Internal Server Error: /lotus/sectors/getAll/129/ Traceback (most recent call last): File "/root/.cache/pypoetry/virtualenvs/lotus-mammoth-backend-BC7 阅读全文
posted @ 2023-05-17 15:57 jasmine456 阅读(176) 评论(0) 推荐(0) 编辑
摘要:RuntimeWarning: DateTimeField Sector.expiration received a naive datetime (2023-07-16 21:57:00) while time zone support is active. django的setting.py配置 阅读全文
posted @ 2023-05-17 11:09 jasmine456 阅读(259) 评论(0) 推荐(0) 编辑
摘要:批量创建、更新 (bulk_create、bulk_update) create ``` 1. 定义一个 model对象的列表, tmpList=[] 2. 用循环将需要创建的model对象,添加到此列表, tmpList.append(obj) 3. 使用django提供的bulk_create方 阅读全文
posted @ 2023-05-17 10:44 jasmine456 阅读(795) 评论(0) 推荐(0) 编辑
摘要:Fatal Python error: _enter_buffered_busy: could not acquire lock for <_io.BufferedWriter name=''> at interpreter shutdown, possibly due to daemon thre 阅读全文
posted @ 2023-05-17 10:38 jasmine456 阅读(248) 评论(0) 推荐(0) 编辑