PyCharm makes it possible to easily navigate between templates and views by using the gutter icons and .
To navigate from a view to a template
Open views.py in the editor.
Click the gutter icon next to the line where the desired template is mentioned:
To navigate from a template to the referencing view
Open the template file in the editor.
Click the gutter icon in the upper-left corner.
If prompted, select the location that you want to navigate to:
tip
If there are several related locations (for example, when the template is referenced several times in views), select the desired target from the popup that appears:
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.