📜  使用一些虚拟数据填充数据库的自定义管理命令, - 无论代码示例

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

代码示例1
design and implement a Django application with User and ActivityPeriod models, write
a custom management command to populate the database with some dummy data, and design
an API to serve that data in the json format