"def index(request):

     t = []
    
     for i in range(10000):
         t.append(models.Book(title=""第%s本书""%(i)))
    
     models.Book.objects.bulk_create(t)"

 

相关文章:

  • 2022-12-23
  • 2021-12-11
  • 2021-06-05
  • 2022-12-23
  • 2021-07-24
  • 2021-05-29
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
相关资源
相似解决方案