📜  django 从 dict 创建对象 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:35.668000             🧑  作者: Mango
代码示例1
# create instance of model
m = MyModel(**data_dict)
# don't forget to save to database!
m.save()