Create a Django application in a project
Available only in PyCharm Professional: download to try or compare editions
This functionality relies on the Django plugin, which is bundled and enabled in PyCharm by default. If the relevant features are not available, make sure that you did not disable the plugin.
Press CtrlAlt0S to open settings and then select Plugins.
Open the Installed tab, find the Django plugin, and select the checkbox next to the plugin name.
To add a new application to your existing Django project, you can either open the manage.py console and execute the startapp
task manually, or use the Django Structure tool window.
Do one of the following:
Go to Tools | Run manage.py task or press CtrlAlt0R.
The manage.py utility starts in a terminal tab, type
startapp
.Click New Django App in the toolbar of the Django Structure tool window.
Specify the name of the app and press Enter.
The app directory with the required files is added to the project structure.
The app is also added to
INSTALLED_APPS
in settings.py.
Thanks for your feedback!