django load local data code example
Example: load local data to django
Providing initial data for models¶
It’s sometimes useful to pre-populate your database with hard-coded data when you’re first setting up an app. You can provide initial data with migrations or fixtures.