Home > Net >  Pycharm $python3 manage.py runserver issue
Pycharm $python3 manage.py runserver issue

Time:11-02

I'm trying to learn about the Django framework and I've started by running a project.

I seem to have some trouble on Pycharm:

 PyShop1 % $python3 manage.py runserver

When I input this it outputs:

zsh: command not found: manage.py

Can someone help me rectify the issue, as I can't seem to find the solution to this anywhere. I definitely have a manage.py file, as I can see it on the Project section of PyCharm.

Also If it helps I'm using MacOS

CodePudding user response:

Did you check are you executing this command in proper directory?

If your manage.py file is stored in directory 'app' you should open terminal inside this directory and execute this command.

best regards,

  • Related