📜  django 从字典创建模型 - Python 代码示例

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

代码示例1
# create instance of model
m = MyModel(**data_dict)
# don't forget to save to database!
m.save()