Run tasks of manage.py
With PyCharm, you can run Django manage.py utility from within the IDE. Each task of this utility is executed in the manage.py console.
Note that Run manage.py task command is available for both local and remote interpreters.
Configuring manage.py utility
It's important to note that configuration of the manage.py utility is done in the Django page of the Settings dialog.
To configure manage.py utility, follow these steps
In the Settings dialog (Control+Alt+S) under the Languages and Frameworks node, click Django.
In this page, choose the desired Django project.
In the Manage.py tasks section, specify the following:
In the field Manage script, specify the desired manage.py script.
Note that by default PyCharm shows the manage.py script that resides under the Django project root. If you are not happy with this suggestion, you can choose any other manage.py script by clicking 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 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 manage.py utility
To run a task of the manage.py utility
Go toor press Alt R.
The manage.py utility starts in its own console.
Type the name of the desired task.
Working in the manage.py utility console
In the manage.py console, one can: