This feature is supported in the Ultimate edition only.

The following is only valid when Python Plugin is installed and enabled!

IntelliJ IDEA makes it possible to easily navigate between templates and views, using the gutter icons images/classTypeHtml.png and images/pythonScript.png.

To navigate from a view to a template
  1. Open views.py file in the editor.
  2. Click the gutter icon next to the desired function:

    images/py_goto_template.png

To navigate from a template to the referencing view
  1. Open the desired template file in the editor.
  2. Click the gutter icon:

    images/py_referenced_from_view.png

If there are more related files (for example, a view and a style sheet), select the desired target from the pop-up that appears:

images/py_gotoRelated.png

See Also

Procedures:

Tutorials and Examples: