无法通过Djangorestframework迁移我的API应用程序。

huangapple go评论68阅读模式
英文:

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.

无法通过Djangorestframework迁移我的API应用程序。

答案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.

huangapple
  • 本文由 发表于 2023年5月7日 01:02:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/76190113.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定