PyCharm 2018.1 Help

Navigating Between Templates and Views

PyCharm makes it possible to easily navigate between templates and views, using the gutter icons classTypeHtml and pythonScript.

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:
    py goto template

To navigate from a template to the referencing view

  1. Open the desired template file in the editor.
  2. Click the gutter icon:
    py referenced from view
Last modified: 23 July 2018

See Also