Saving thousands(even millions) of records in a database through django ORM. Is it really a good idea?

2 min read Well, I am writing this note to be reminded later or to remind you who do this stupid mistake like i did. I have a project where i have written a command called init_data to initialize the required data in the system. I needed to create thousands of django user instances, thousands of other model instances.
So i was not concerned of how django orm will handle these instance creation in a loop until i suffered for it.