IntelliJ IDEA 2016.3 Help

Django

This feature is supported in 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 ( e.g. 1.5, 1.6, 1.7,1.8).

The supported Python versions depend on the Django version, for example:

  • Django 1.8 supports Python interpreter 3.5.
  • Django 1.7 supports Python interpreters from the version 2.7 up to the version 3.4.
  • Django 1.6 supports Python interpreters from the version 2.6 up to the version 3.3.

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 project structure dialog.
  2. In the Modules node, select the desired module to which Django support should be added, and click /help/img/idea/2016.3/add.png.
  3. Choose Django from the popup menu:
    /help/img/idea/2016.3/django_support_for_a module.png
  4. Select the Django node under the module node
    /help/img/idea/2016.3/django_support_for_a module1.png
    and specify the required parameters in the right-hand pane.

See Also

Last modified: 7 December 2016