摘要: 使用场景 Customer模型: class Customer(models.Model): 一、单表查询 增 models.Tb1.objects.create(c1='xx', c2='oo') 增加一条数据,可以接受字典类型数据 **kwargs obj = models.Tb1(c1='xx 阅读全文
posted @ 2019-06-13 16:18 yoyo008 阅读(1557) 评论(0) 推荐(0)