startapp with manage.py to create app in another directory

前端 未结 6 897
谎友^
谎友^ 2021-01-31 14:25

My Django project structure is:

/proj
  /frontend
  /server
    /proj
    /app1
    /app2
  manage.py

How do I run python ma

6条回答
  •  臣服心动
    2021-01-31 15:16

    To Create a New App in Django project.

    First:

    • Go to your folder using Terminal, where you want to create app

    Second:

    • Type the below command in terminal,
    django-admin startapp 
    

    Now, you can check, new app created with the given name.

提交回复
热议问题