title: Bulk create model objects in django
body: <p>I have a lot of objects to save in database, and so I want to create Model instances with that.</p>
  
  <p>With django, I can create all the models instances, with <code>MyModel(data)</code>, and then I want to save them all.</p>
  
  <p>Currently, I have something like that:</p>
  
  <pre><code>for item in items:
      object = MyModel(name=item.name)
      object.save()
  </code></pre>
  
  <p>I'm wondering if I can save a list of objects directly, eg:</p>
  
  <pre><code>objects = []
  for item in items:
      objects.append(MyModel(name=item.name))
  objects.save_all()
  </code></pre>
  
  <p>How to save all the objects in one transaction?</p>