django-在shell命令里面执行,提示type object 'BookInfo' has no attribute 'create'

如下:

 

 解决办法:

是因为我代码有改动,create方法是后来加的。退出shell重新进下再执行命令就好了

 

posted on 2020-01-19 22:35  cherry_ning  阅读(419)  评论(0)    收藏  举报

导航