Navigating Between Templates and Views
PyCharm makes it possible to easily navigate between templates and views, using the gutter icons, or
command.To navigate from a view to a template
- Open
views.py
file in the editor. - Do one of the following:
- Click the gutter icon next to the desired function:
- On the main menu, choose , or just press Ctrl+Alt+Home.
To navigate from a template to the referencing view
- Open the desired template file in the editor.
- Do one of the following:
- Click the gutter icon:
- On the main menu, choose , or just press Ctrl+Alt+Home.
- Click the gutter icon:
See Also
Procedures:
Last modified: 20 April 2016