-3

How to do run: python manage.py runserver in Visual Studio Code?

I get the below error

"Can not open file manage.py:no such file or directory"

2 Answers2

1

go to that folder where is you 'manage.py' file through cm

Folder name

and then run you command

python3 manage.py runserver

EhtiXham
  • 11
  • 1
0

In vscode terminal (Ctrl+\ hotkey) change path (with cd command) to directory where manage.py file of your project saved, and then run python manage.py runserver

Misha Akopov
  • 12,241
  • 27
  • 68
  • 82
weAreStarsDust
  • 2,634
  • 3
  • 10
  • 22