📜  将本地数据加载到 django - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:42.109000             🧑  作者: Mango

代码示例1
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.