Cannot start any django app

前端 未结 14 1749
离开以前
离开以前 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 06:53

    This is a fun one - your project and your app need to have different names. You probably created a project, then tried to startapp with the same name.

提交回复
热议问题