英文:
Can't migrate my API application through Djangorestframework
问题
I tried to migrate my models to the Django administration website to track my datasets' progress and modify them. However, when I insert the indicated command in the attached picture in the Visual Studio terminal, I keep getting CommandError.
英文:
I tried to migrate my models to the Django administration website to trake my datasets progress and modify them. However, when I insert the indicated command in the attached picture in the Visual Studio terminal. I keep getting CommandError.
答案1
得分: 0
看起来VSCode无法识别它是一个Django项目。尝试从终端输入code .
并检查VSCode是否识别了Django模块。还要确保您的解释器与虚拟环境中存在的解释器相同。
英文:
Looks like VSCode could not identify its a django project. Try to hit code .
from terminal and check if django modules are identified by VSCode. Also make sure the your interpreter is same as the one which is present in your virtual environment.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论