IntelliJ IDEA 2023.2 Help

Run tasks of


With IntelliJ IDEA, you can run Django utility from within the IDE. Each task of this utility is executed in the console.

Note that Run task command is available for both local and remote interpreters.

Configuring utility

It's important to note that configuration of the utility is done in the Django facet page of the Project Structure dialog.

To configure utility, follow these steps

  1. In the Project Structure dialog (Control+Alt+Shift+S), click the module with Python support, and add Django facet.

  2. Click the Django facet.

  3. In the tasks section, specify the following:

    • In the field Manage script, specify the desired script.

      Note that by default IntelliJ IDEA shows the script that resides under the Django project root. If you are not happy with this suggestion, you can choose any other script by clicking the browse button the Browse button.

    • In the Environment variables field, specify the environment variables to be passed to the script. By default, this field is empty.

      Click the browse button the Browse button to open the Environment Variables dialog. Use the toolbar buttons to make up the list of variables.

      If you want to see the system environment variables, click Show link in this dialog.

Running utility

To run a task of the utility

  1. On the main menu, choose Tools | Run task.

    The utility starts in its own console.

  2. Type the name of the desired task.

Working in the utility console

In the console, one can:

Last modified: 01 September 2023