PyCharm 2023.3 Help

Navigate between templates and views

PyCharm makes it possible to easily navigate between templates and views by using the gutter icons App expui file types html and App expui file types python.

To navigate from a view to a template

  1. Open views.py in the editor.

  2. Click the gutter icon next to the line where the desired template is mentioned:

    Go to template from a Python script

To navigate from a template to the referencing view

  1. Open the template file in the editor.

  2. Click the App expui file types python gutter icon in the upper-left corner.

  3. If prompted, select the location that you want to navigate to:

    Go to Python script from a view
Last modified: 25 August 2023