PyCharm 2023.3 Help

Django support

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 for a Python project 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 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: 28 February 2024