IntelliJ IDEA 2017.1 Help

Django Framework Support

This feature is supported in the Ultimate edition only.

In this section:

Prerequisite

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

Supported versions of Django and Python

IntelliJ IDEA 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 IntelliJ IDEA includes:

Enabling or disabling Django support

Django support can be turned on or off by attaching or detaching the Django facet .

To enable Django support, follow these steps:

  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
  2. In the Modules node, select the desired module to which Django support should be added, and click /help/img/idea/2017.1/add.png.
  3. Choose Django from the popup menu:
    /help/img/idea/2017.1/django_support_for_a module.png
  4. Select the Django node under the module node
    /help/img/idea/2017.1/django_support_for_a module1.png
    and specify the required parameters in the right-hand pane.

See Also

Last modified: 18 July 2017