IntelliJ IDEA 2022.1 Help

Create a Django application in a project

To add a new site to your existing Django project, use the startapp task of manage.py utility.

To add a new Django application to an existing project

  1. From the main menu, choose Tools | Run manage.py task

  2. In the Django Console dialog, type startapp.

    Running the startapp command

    Note suggestion list that appears under the dialog after entering the first letter, and shrinks as you type to show the exact match only.

  3. Type the name of the new Django application.

    Adding a new Django application to the project
  4. Inspect the project structure. You should see the directory and the dedicated file created for the newly registered application.

    Second Django application
Last modified: 10 August 2022