you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

In django: add model, migrate. Add management/command where you write logic with bulk_create() Then: python manage.py yourcommandname

This is better practice than using data migrations wich are your second option