Cannot start any django app

前端 未结 14 1754
离开以前
离开以前 2021-01-02 06:22

I am a newbie at Django and everytime I try to run python panel/manage.py startapp %app% (panel is my project) it gives me the error:

Error: \'         


        
14条回答
  •  南方客
    南方客 (楼主)
    2021-01-02 07:18

    Perhaps you need to

    cd panel
    python manage.py startapp yourappname
    

    I'm not sure running the command from a directory above your project will work properly.

提交回复
热议问题