摘要:
批量创建、更新 (bulk_create、bulk_update) create ``` 1. 定义一个 model对象的列表, tmpList=[] 2. 用循环将需要创建的model对象,添加到此列表, tmpList.append(obj) 3. 使用django提供的bulk_create方 阅读全文
摘要:
Fatal Python error: _enter_buffered_busy: could not acquire lock for <_io.BufferedWriter name=''> at interpreter shutdown, possibly due to daemon thre 阅读全文