运行django时bao报如下
App.models.MultipleObjectsReturned: get() returned more than one Student -- it returned 7!
原因:应该是使用返回一条对象的过滤方法,但过滤条件得到了很多数据
运行django时bao报如下
App.models.MultipleObjectsReturned: get() returned more than one Student -- it returned 7!
原因:应该是使用返回一条对象的过滤方法,但过滤条件得到了很多数据