python manage.py makemigrations
python manage.py migrate
问题是这样产生的,昨天部署自己的代码到云上的时候,运行上述的命令一直出错,不能够生成app中的tables,
https://blog.csdn.net/chichu261/article/details/82868597
好不容易找到上面的博客
python manage.py makemigrations --empty booktest
最后一个单词是app的名字;然后就ok了,感觉很诡异啊,
大概是之前的django 根本不知道我有这个app?
原文:https://www.cnblogs.com/mangmangbiluo/p/11002412.html