PyCharm 2017.2 Help

Navigating Between Templates and Views

This feature is supported in the Professional edition only.

PyCharm makes it possible to easily navigate between templates and views, using the gutter icons /help/img/idea/2017.2/classTypeHtml.png and /help/img/idea/2017.2/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:
    /help/img/idea/2017.2/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:
    /help/img/idea/2017.2/py_referenced_from_view.png
Last modified: 26 October 2017

See Also