1、确定你的create方法和write方法是否重写过
2、检查你的create和write方法是否写了return
return super(类名,self).create(vals_list)
类名:是class 类名,不是_name='模型名'
1、确定你的create方法和write方法是否重写过
2、检查你的create和write方法是否写了return
return super(类名,self).create(vals_list)
类名:是class 类名,不是_name='模型名'