SyntaxFix
Write A Post
Hire A Developer
Questions
The easiest way is to use the create Manager method, which creates and saves the object in a single step.
create
for item in items: MyModel.objects.create(name=item.name)