2024-10-01 13:39:41 发布
网友
在本地测试django时,我还可以,但在ubuntu服务器上使用pythonmanage.py makemigrations时,出现了一个错误
manage.py makemigrations
django.db.utils.ProgrammingError: (1146, "Table 'NewHuBu.topic_sort_model' doesn't exist")
Error 1和Error 2
makemigration命令有一个/
/
去掉这个斜杠,在你的例子中写:python manage.py makemigrations topic。会有用的
python manage.py makemigrations topic
我可以在您的命令中看到/
试试看
python manage.py makemigrations <app name not ending with slash>
为了你的案子
makemigration命令有一个
/
去掉这个斜杠,在你的例子中写:
python manage.py makemigrations topic
。会有用的我可以在您的命令中看到
/
试试看
为了你的案子
相关问题 更多 >
编程相关推荐