If you have a lot of objects to save in database you may want to create them using .bulk_create method to make it faster.

    Post(title="Tutorial 1"),
    Post(title="Tutorial 2"),

Details and caveats:

  • Generally runs only 1 query for the whole list of objects, thus works faster than individual inserts
  • .save() method will not be called
  • This will ignore pre and post save signals.