Cannot start any django app

前端 未结 14 1744
离开以前
离开以前 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:56

    You should choose different names for your project and app in Codes:

    django-admin startproject **my_project** 
    
    python manage.py startapp **my_app**
    

提交回复
热议问题