Django
Ctrl+Alt+S
Use this page to configure Django support for each of the projects opened in the same window.
In this section:
Projects pane
Item | Description |
---|---|
Projects | This pane displays the list of projects, opened in the same window. The first project in the list is the primary project. |
This pane is not shown, if there is only one open project.
Django support pane
Item | Description |
---|---|
Enable Django support | The default state of this check box depends on the project type. For the empty projects, Django support is disabled. For the Django projects it is enabled by default; you can clear this check box if required. In this case, the other fields become unavailable. |
Django project root | By default, this field shows the directory that stores settings.py and manage.py files of the application.
If required, you can specify a different location. |
Settings | Click the browse button to select the desired settings file.
Use one of the following approaches:
By default, PyCharm shows the |
Manage.py tasks | |
Manage script | Specify here the desired manage.py file for the current project. By default, PyCharm shows the manage.py file, located under the Django project root.
Click to select the desired manage file from the file system. |
Environment variables | Specify here the environment variables to be passed to the script. |
Show structure | Click this button to show the structure of a Django project:
The users are advised to look into this window to see whether the Django project structure is correct. |
See Also
Language and Framework-Specific Guidelines:
External Links:
Last modified: 20 April 2016