PyCharm makes it possible to easily navigate between templates and views, using the gutter icons, or
command.- 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 Ctrl+Alt+Home. , or just press
- Click the gutter icon next to the desired function:
- Open the desired template file in the editor.
- Do one of the following:
- Click the gutter icon:
- On the main menu, choose Ctrl+Alt+Home. , or just press
- Click the gutter icon:
If there are more related files (for example, a view and a style sheet), select the desired target from the pop-up that appears: