• Select File > New Project...
  • Select a location for the project and hit Create:

This will create a new virtual environment directory in the project root.

  • Select View > Tool Windows > Terminal:

  • Install Django and create a new project:
pip install django
django-admin startproject mysite .
  • Select Run > Edit Configurations...
  • Click the plus sign.
  • Select Python:

  • Find the project manage.py file for the Script path setting:
  • Write runserver in the Parameters setting.

The Python interpreter setting should be pointing at the project's venv folder.

  • Hit Create.
  • Start the Django development server by selecting Run > Run 'manage' or using the shortcut Shift + 10.
  • Click the server URL ( to visit the website with your system default browser:

You should now see the default home page: