IntelliJ IDEA 2021.1 Help

Creating Django Project

Django project is intended for productive web development with Django. IntelliJ IDEA takes care of creating specific directory structure and files required for a Django application, and providing the correct settings.

Create a new Django project

  1. From the main menu, choose File | New | Project, or click the New Project button in the Welcome screen. New Project dialog opens.

  2. In the New Project dialog, select Python as a project type.

  3. Select a Python SDK that has the Django support enabled. If no Python SDK is detected, create it as explained in Configure a Python SDK.

    Select the Django checkbox in the Additional Libraries and Frameworks area.

    Create a Django project: select an SDK
  4. Specify the following project settings:

    • From the Template language list, select the language to be used.

    • In the Templates folder field, specify the directory where the templates will be stored, and where they will be loaded from. You can specify the name of the directory that doesn't yet exist; in this case, the directory will be created.

    • In the Application name field, type the name of the created Django application.

    • If necessary, select the checkbox Enable Django admin. If you need admin interface to be created, select the Enable Django admin checkbox.

    Click Next to proceed.

  5. Skip a step for creating a project from a template, and specify project name and its location.

    Create a Django project: specify the project settings

    Click Finish.

Last modified: 08 March 2021