PyCharm 2016.2 Help

Navigating Between Templates and Views

PyCharm makes it possible to easily navigate between templates and views, using the gutter icons, or Navigate | Related File command.

To navigate from a view to a template

  1. Open views.py file in the editor.
  2. Do one of the following:
    • Click the gutter icon next to the desired function:
      python_jumpToTemplate
    • On the main menu, choose Navigate | Related File, or just press Ctrl+Alt+Home.

To navigate from a template to the referencing view

  1. Open the desired template file in the editor.
  2. Do one of the following:
    • Click the gutter icon:
      python_jumpToView
    • On the main menu, choose Navigate | Related File, or just press Ctrl+Alt+Home.

See Also

Last modified: 23 November 2016