PyCharm 2022.1 Help

Django

Prerequisite

Django framework and the corresponding Python interpreter are properly installed on your machine.

Supported versions of Django and Python

PyCharm supports the latest Django versions. The corresponding Python versions depend on Django. See What Python version can I use with Django?

Django support

Django support in PyCharm includes:

Enabling or disabling Django support

Django support can be turned on or off by selecting/clearing the checkbox Enable Django support in the Django page.

To enable Django support, follow these steps:

  1. Open the project Settings/Preferences dialog (Ctrl+Alt+S) and navigate to the Languages & Frameworks | Django page.

  2. Make sure that the checkbox Enable Django support is selected.

  3. Apply changes (if any) and close the dialog.

Last modified: 01 April 2022